use osmo_init_logging2

Change-Id: If4449cce1af46be22cc370abd3a6da8e22a31fa5
diff --git a/src/db_test.c b/src/db_test.c
index 7891c90..0d10797 100644
--- a/src/db_test.c
+++ b/src/db_test.c
@@ -49,7 +49,7 @@
 
 	g_hlr = talloc_zero(NULL, struct hlr);
 
-	rc = osmo_init_logging(&hlr_log_info);
+	rc = osmo_init_logging2(g_hlr, &hlr_log_info);
 	if (rc < 0) {
 		fprintf(stderr, "Error initializing logging\n");
 		exit(1);