aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-19 13:18:42 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-02-19 13:18:42 +0100
commit2c6aed38bd4a8c2e06780f755b01c6eda74cf611 (patch)
tree44cfd356a1f57cd273c26c6a0a0ec725965200f2 /src
parente8299eb745a1f7157369e6c41a0a9eb866782b27 (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: Ia633cae0a26f294e276b431a82256abb1b57ebba Related: OS#5034
Diffstat (limited to 'src')
-rw-r--r--src/tests/test_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/test_common.c b/src/tests/test_common.c
index 7c6f62a..0729368 100644
--- a/src/tests/test_common.c
+++ b/src/tests/test_common.c
@@ -86,6 +86,8 @@ int test_common_init(void)
log_set_print_filename(osmo_stderr_target, 0);
log_set_use_color(osmo_stderr_target, 0);
+ log_set_print_category(osmo_stderr_target, 0);
+ log_set_print_category_hex(osmo_stderr_target, 0);
return rc;
}