]> the.earth.li Git - onak.git/blobdiff - sixdegrees.c
Fix maxpath to initialise the logging infrastructure.
[onak.git] / sixdegrees.c
index f2700290bdedc1b3bc64fa5f7d5732cb65790546..b78397f1682275c3a7dac19c8d64cbc0d0080a2a 100644 (file)
@@ -4,8 +4,6 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2001-2002 Project Purple.
- *
- * $Id: sixdegrees.c,v 1.6 2004/03/23 12:33:47 noodles Exp $
  */
 
 #include <stdio.h>
@@ -15,6 +13,7 @@
 #include "keydb.h"
 #include "keystructs.h"
 #include "ll.h"
+#include "log.h"
 #include "onak-conf.h"
 #include "stats.h"
 
@@ -127,6 +126,7 @@ int main(int argc, char *argv[])
        }
 
        readconfig(NULL);
+       initlogthing("sixdegrees", config.logfile);
        initdb(true);
        inithash();
        sixdegrees(getfullkeyid(keyid));