From: Jonathan McDowell Date: Thu, 23 Sep 2004 15:20:16 +0000 (+0000) Subject: Fix sixdegrees to initialise the logging infrastructure. X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/63d00390a7c0507abd8099821d86602e9256c43b?ds=inline 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. --- 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));