#include "keydb.h"
#include "keystructs.h"
#include "ll.h"
+#include "log.h"
#include "onak-conf.h"
#include "stats.h"
keyid = strtoll(argv[1], NULL, 16);
}
- readconfig();
- initdb();
+ readconfig(NULL);
+ initlogthing("sixdegrees", config.logfile);
+ initdb(true);
inithash();
sixdegrees(getfullkeyid(keyid));
destroyhash();
cleanupdb();
+ cleanuplogthing();
cleanupconfig();
return 0;