maxpath wasn't initialising the logging infrastructure, so would
log to stderr rather than the log file for example. Fix this.
#include "hash.h"
#include "keydb.h"
#include "ll.h"
+#include "log.h"
#include "onak-conf.h"
#include "stats.h"
int main(int argc, char *argv[])
{
readconfig(NULL);
+ initlogthing("maxpath", config.logfile);
initdb(true);
inithash();
findmaxpath(30);
findmaxpath(30);
destroyhash();
cleanupdb();
+ cleanuplogthing();
cleanupconfig();
return EXIT_SUCCESS;