From 63d00390a7c0507abd8099821d86602e9256c43b Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Thu, 23 Sep 2004 15:20:16 +0000 Subject: [PATCH] Fix sixdegrees to initialise the logging infrastructure. sixdegrees wasn't initialising the logging infrastructure, so would log to stderr rather than the log file for example. Fix this. --- sixdegrees.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sixdegrees.c b/sixdegrees.c index 0dd324f..b78397f 100644 --- 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)); -- 2.39.2