laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/16899 )
Change subject: examples/sccp_demo_user: log category name instead of its hex value ...................................................................... examples/sccp_demo_user: log category name instead of its hex value Change-Id: I57afb4cacdb3c118c7570d924caa23144d192aa8 --- M examples/sccp_demo_user.c 1 file changed, 2 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved 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 @@ 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); -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16899 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: I57afb4cacdb3c118c7570d924caa23144d192aa8 Gerrit-Change-Number: 16899 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pes...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <lafo...@osmocom.org> Gerrit-MessageType: merged