]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - sixdegrees.c
Add Depends on adduser for Debian
[onak.git] / sixdegrees.c
index 0dd324f0c139aee07b9b19fc7beae68e84336092..d7d650f3c1260f3265a941852560f29e4225cadf 100644 (file)
@@ -13,6 +13,7 @@
 #include "keydb.h"
 #include "keystructs.h"
 #include "ll.h"
+#include "log.h"
 #include "onak-conf.h"
 #include "stats.h"
 
@@ -125,11 +126,13 @@ int main(int argc, char *argv[])
        }
 
        readconfig(NULL);
+       initlogthing("sixdegrees", config.logfile);
        initdb(true);
        inithash();
        sixdegrees(getfullkeyid(keyid));
        destroyhash();
        cleanupdb();
+       cleanuplogthing();
        cleanupconfig();
 
        return 0;