diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-02-19 13:22:28 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-02-19 13:22:28 +0100 |
commit | 00ef1b0d6e01666b42f24a443aadf26ad5955a3f (patch) | |
tree | ac26eaa5a65dbfc5df606c23565bbd1059c1843d | |
parent | 02a82c3c9b88e6bbd4b49874fbf521b6e88b85fb (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: Icce09882ef3ed07328679594ff84902383d16c72
Related: OS#5034
-rw-r--r-- | tests/lib/ippool_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |