use osmo_init_logging2
Change-Id: If4449cce1af46be22cc370abd3a6da8e22a31fa5
diff --git a/tests/auc/auc_test.c b/tests/auc/auc_test.c
index e9c114c..e23cc02 100644
--- a/tests/auc/auc_test.c
+++ b/tests/auc/auc_test.c
@@ -610,7 +610,9 @@
handle_options(argc, argv);
- osmo_init_logging(&hlr_log_info);
+ void *tall_ctx = talloc_named_const(NULL, 1, "auc_test");
+
+ osmo_init_logging2(tall_ctx, &hlr_log_info);
log_set_print_filename(osmo_stderr_target, cmdline_opts.verbose);
log_set_print_timestamp(osmo_stderr_target, 0);
log_set_use_color(osmo_stderr_target, 0);