projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7c1eb3
)
Fix sixdegrees to initialise the logging infrastructure.
author
Jonathan McDowell
<noodles@earth.li>
Thu, 23 Sep 2004 15:20:16 +0000
(15:20 +0000)
committer
Jonathan McDowell
<noodles@earth.li>
Thu, 23 Sep 2004 15:20:16 +0000
(15:20 +0000)
sixdegrees wasn't initialising the logging infrastructure, so would
log to stderr rather than the log file for example. Fix this.
sixdegrees.c
patch
|
blob
|
history
diff --git
a/sixdegrees.c
b/sixdegrees.c
index 0dd324f0c139aee07b9b19fc7beae68e84336092..b78397f1682275c3a7dac19c8d64cbc0d0080a2a 100644
(file)
--- a/
sixdegrees.c
+++ b/
sixdegrees.c
@@
-13,6
+13,7
@@
#include "keydb.h"
#include "keystructs.h"
#include "ll.h"
+#include "log.h"
#include "onak-conf.h"
#include "stats.h"
@@
-125,6
+126,7
@@
int main(int argc, char *argv[])
}
readconfig(NULL);
+ initlogthing("sixdegrees", config.logfile);
initdb(true);
inithash();
sixdegrees(getfullkeyid(keyid));