aboutsummaryrefslogtreecommitdiffstats
path: root/tests/subscr/bsc_subscr_test.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-19 13:39:34 +0100
committerlaforge <laforge@osmocom.org>2021-02-20 17:14:49 +0000
commitf25a45abea7ea9006b0c6bc9d512319ef4384f2c (patch)
treeefd2b9fd87aefe96229fee1a0ddc2b0f6b18af20 /tests/subscr/bsc_subscr_test.c
parente4b52dff395dc7fbb856dade1d7f0c336832b2c3 (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: I4d48c0c0aa46065560a020369e3b0544385f173e Related: OS#5034
Diffstat (limited to 'tests/subscr/bsc_subscr_test.c')
-rw-r--r--tests/subscr/bsc_subscr_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/subscr/bsc_subscr_test.c b/tests/subscr/bsc_subscr_test.c
index 619d5e6bf..77769a102 100644
--- a/tests/subscr/bsc_subscr_test.c
+++ b/tests/subscr/bsc_subscr_test.c
@@ -134,6 +134,7 @@ int main()
log_set_print_filename(osmo_stderr_target, 0);
log_set_print_timestamp(osmo_stderr_target, 0);
log_set_use_color(osmo_stderr_target, 0);
+ log_set_print_category_hex(osmo_stderr_target, 0);
log_set_print_category(osmo_stderr_target, 1);
bsc_subscribers = talloc_zero(ctx, struct llist_head);