This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged. Change subject: logging test: cosmetic: print target and don't print color ...................................................................... logging test: cosmetic: print target and don't print color Prepares for upcoming modifications of the logging test to show and fix bugs in the logging system. Change-Id: I9461b987adf85d87469a6af55de5f1aa478f6ebb --- M tests/logging/logging_test.c M tests/logging/logging_test.err 2 files changed, 5 insertions(+), 4 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/tests/logging/logging_test.c b/tests/logging/logging_test.c index 3d1b7d8..91b0aaf 100644 --- a/tests/logging/logging_test.c +++ b/tests/logging/logging_test.c @@ -75,6 +75,8 @@ log_add_target(stderr_target); log_set_all_filter(stderr_target, 1); log_set_print_filename(stderr_target, 0); + log_set_print_category(stderr_target, 1); + log_set_use_color(stderr_target, 0); log_parse_category_mask(stderr_target, "DRLL:DCC"); log_parse_category_mask(stderr_target, "DRLL"); diff --git a/tests/logging/logging_test.err b/tests/logging/logging_test.err index 4891491..4a350fa 100644 --- a/tests/logging/logging_test.err +++ b/tests/logging/logging_test.err @@ -1,4 +1,3 @@ -[1;31mYou should see this -[0;m[1;32mYou should see this -[0;m[1;31mYou should see this -[0;m \ No newline at end of file +DRLL You should see this +DCC You should see this +DRLL You should see this -- To view, visit https://gerrit.osmocom.org/1413 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9461b987adf85d87469a6af55de5f1aa478f6ebb Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder