This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/22977 ) Change subject: tests: Replace deprecated API log_set_print_filename ...................................................................... tests: Replace deprecated API log_set_print_filename Change-Id: I35eb879d82e1030ea8be56ce9039277c021bb6fa --- M tests/gtp/gtpie_test.c M tests/gtp/queue_test.c M tests/lib/in46a_test.c M tests/lib/ippool_test.c 4 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/77/22977/1 diff --git a/tests/gtp/gtpie_test.c b/tests/gtp/gtpie_test.c index 95dd900..ed1f26e 100644 --- a/tests/gtp/gtpie_test.c +++ b/tests/gtp/gtpie_test.c @@ -113,7 +113,7 @@ 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)); diff --git a/tests/gtp/queue_test.c b/tests/gtp/queue_test.c index 11b653d..8eef651 100644 --- a/tests/gtp/queue_test.c +++ b/tests/gtp/queue_test.c @@ -223,7 +223,7 @@ 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(); diff --git a/tests/lib/in46a_test.c b/tests/lib/in46a_test.c index 407ac5d..d6c4f47 100644 --- a/tests/lib/in46a_test.c +++ b/tests/lib/in46a_test.c @@ -431,7 +431,7 @@ 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)); diff --git a/tests/lib/ippool_test.c b/tests/lib/ippool_test.c index 57ab16e..2af4a38 100644 --- a/tests/lib/ippool_test.c +++ b/tests/lib/ippool_test.c @@ -131,7 +131,7 @@ 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); -- To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/22977 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ggsn Gerrit-Branch: master Gerrit-Change-Id: I35eb879d82e1030ea8be56ce9039277c021bb6fa Gerrit-Change-Number: 22977 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210219/515d2b26/attachment.htm>