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
This commit is contained in:
Pau Espin 2021-02-19 13:22:28 +01:00
parent 02a82c3c9b
commit 00ef1b0d6e
1 changed files with 2 additions and 0 deletions

View File

@ -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));