From 00ef1b0d6e01666b42f24a443aadf26ad5955a3f Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 19 Feb 2021 13:22:28 +0100 Subject: [PATCH] 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: Icce09882ef3ed07328679594ff84902383d16c72 Related: OS#5034 --- tests/lib/ippool_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lib/ippool_test.c b/tests/lib/ippool_test.c index 6155ab8..57ab16e 100644 --- a/tests/lib/ippool_test.c +++ b/tests/lib/ippool_test.c @@ -132,6 +132,8 @@ int main(int argc, char **argv) osmo_init_logging2(tall_ctx, &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); srand(time(NULL));