#include <stddef.h>
#include <stdlib.h>
#include <string.h>
+#include <syslog.h>
#include <loc/libloc.h>
#include <loc/database.h>
if (err < 0)
exit(EXIT_FAILURE);
+ // Enable debug logging
+ loc_set_log_priority(ctx, LOG_DEBUG);
+
struct loc_network_tree* tree;
err = loc_network_tree_new(ctx, &tree);
if (err) {