* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2001-2002 Project Purple.
- *
- * $Id: sixdegrees.c,v 1.5 2003/10/15 21:15:21 noodles Exp $
*/
#include <stdio.h>
#include "keydb.h"
#include "keystructs.h"
#include "ll.h"
+#include "log.h"
#include "onak-conf.h"
#include "stats.h"
}
readconfig(NULL);
- initdb();
+ initlogthing("sixdegrees", config.logfile);
+ initdb(true);
inithash();
sixdegrees(getfullkeyid(keyid));
destroyhash();
cleanupdb();
+ cleanuplogthing();
cleanupconfig();
return 0;