aboutsummaryrefslogtreecommitdiffstats
path: root/tests/app_info/AppInfoTest.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-19 14:00:48 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-02-19 16:24:11 +0100
commitb18d2a5fd983dad07bb5145e17b5af772f87a058 (patch)
tree2d1c42d692ce24e0ec4810d7c5f6fc8b2b492cf3 /tests/app_info/AppInfoTest.cpp
parent151bc5b0d3695e26e204ac9bdd631a5dcdbba0ad (diff)
tests: Explicitly drop category from log
Let's disable category here since we don't care about its formatting here. In any case, every test relying on logging output validation should always explicitly state the config to avoid issues in the future if default values change. Change-Id: I7f9c56313cfaa74ebe666f44763a83d8102f5484 Related: OS#5034
Diffstat (limited to 'tests/app_info/AppInfoTest.cpp')
-rw-r--r--tests/app_info/AppInfoTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/app_info/AppInfoTest.cpp b/tests/app_info/AppInfoTest.cpp
index f145fa5f..707deb7e 100644
--- a/tests/app_info/AppInfoTest.cpp
+++ b/tests/app_info/AppInfoTest.cpp
@@ -175,6 +175,8 @@ int main(int argc, char *argv[])
osmo_init_logging2(tall_pcu_ctx, &gprs_log_info);
log_set_use_color(osmo_stderr_target, 0);
log_set_print_filename(osmo_stderr_target, 0);
+ log_set_print_category(osmo_stderr_target, 0);
+ log_set_print_category_hex(osmo_stderr_target, 0);
log_parse_category_mask(osmo_stderr_target, "DL1IF,1:DRLCMAC,3:DRLCMACSCHED,1");
the_pcu = gprs_pcu_alloc(tall_pcu_ctx);