X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=sixdegrees.c;h=d7d650f3c1260f3265a941852560f29e4225cadf;hb=5538c5782135666d73f7615a37ea9689afa07dcd;hp=0dd324f0c139aee07b9b19fc7beae68e84336092;hpb=394938c479925750ffe56c28d281945ba4003a14;p=onak.git diff --git a/sixdegrees.c b/sixdegrees.c index 0dd324f..d7d650f 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,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;