tests: Replace deprecated API log_set_print_filename

Change-Id: I35eb879d82e1030ea8be56ce9039277c021bb6fa
This commit is contained in:
Pau Espin 2021-02-19 13:23:00 +01:00
parent 00ef1b0d6e
commit 51930f7b63
4 changed files with 4 additions and 4 deletions

View File

@ -113,7 +113,7 @@ int main(int argc, char **argv)
msgb_talloc_ctx_init(tall_ctx, 0);
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_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
srand(time(NULL));

View File

@ -223,7 +223,7 @@ int main(int argc, char **argv)
msgb_talloc_ctx_init(tall_ctx, 0);
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_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
test_queue_empty();
test_queue_one();

View File

@ -431,7 +431,7 @@ int main(int argc, char **argv)
msgb_talloc_ctx_init(tall_ctx, 0);
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_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
srand(time(NULL));

View File

@ -131,7 +131,7 @@ int main(int argc, char **argv)
msgb_talloc_ctx_init(tall_ctx, 0);
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_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
log_set_print_category(osmo_stderr_target, 0);
log_set_print_category_hex(osmo_stderr_target, 0);