aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/sccp_demo_user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/sccp_demo_user.c b/examples/sccp_demo_user.c
index 4b7b6bc..8cf3c33 100644
--- a/examples/sccp_demo_user.c
+++ b/examples/sccp_demo_user.c
@@ -72,6 +72,8 @@ static void init_logging(void)
void *tall_ctx = talloc_named_const(NULL, 1, "example");
msgb_talloc_ctx_init(tall_ctx, 0);
osmo_init_logging2(tall_ctx, &log_info);
+ log_set_print_category(osmo_stderr_target, true);
+ log_set_print_category_hex(osmo_stderr_target, false);
for (i = 0; i < ARRAY_SIZE(log_cats); i++)
log_set_category_filter(osmo_stderr_target, log_cats[i], 1, LOGL_DEBUG);