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/openbsc/+/22992 ) Change subject: tests: Replace deprecated API log_set_print_filename ...................................................................... tests: Replace deprecated API log_set_print_filename Change-Id: I2bd75313daab58704625245af2dd39d88ee42872 --- M openbsc/tests/db/db_test.c M openbsc/tests/smpp/smpp_test.c M openbsc/tests/subscr/bsc_subscr_test.c M openbsc/tests/subscr/subscr_test.c 4 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/92/22992/1 diff --git a/openbsc/tests/db/db_test.c b/openbsc/tests/db/db_test.c index d8440eb..9c4c029 100644 --- a/openbsc/tests/db/db_test.c +++ b/openbsc/tests/db/db_test.c @@ -205,7 +205,7 @@ { printf("Testing subscriber database code.\n"); osmo_init_logging(&log_info); - log_set_print_filename(osmo_stderr_target, 0); + log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_NONE); log_set_use_color(osmo_stderr_target, 0); log_set_print_category(osmo_stderr_target, 0); log_set_print_category_hex(osmo_stderr_target, 0); diff --git a/openbsc/tests/smpp/smpp_test.c b/openbsc/tests/smpp/smpp_test.c index e1e9a8b..99c2683 100644 --- a/openbsc/tests/smpp/smpp_test.c +++ b/openbsc/tests/smpp/smpp_test.c @@ -66,7 +66,7 @@ { osmo_init_logging(&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); diff --git a/openbsc/tests/subscr/bsc_subscr_test.c b/openbsc/tests/subscr/bsc_subscr_test.c index 20ce07d..cbe635e 100644 --- a/openbsc/tests/subscr/bsc_subscr_test.c +++ b/openbsc/tests/subscr/bsc_subscr_test.c @@ -114,7 +114,7 @@ { printf("Testing BSC subscriber core code.\n"); osmo_init_logging(&log_info); - log_set_print_filename(osmo_stderr_target, 0); + log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_NONE); log_set_print_timestamp(osmo_stderr_target, 0); log_set_use_color(osmo_stderr_target, 0); log_set_print_category(osmo_stderr_target, 1); diff --git a/openbsc/tests/subscr/subscr_test.c b/openbsc/tests/subscr/subscr_test.c index 78fa7bb..947c2c3 100644 --- a/openbsc/tests/subscr/subscr_test.c +++ b/openbsc/tests/subscr/subscr_test.c @@ -105,7 +105,7 @@ { printf("Testing subscriber core code.\n"); osmo_init_logging(&log_info); - 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/openbsc/+/22992 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Change-Id: I2bd75313daab58704625245af2dd39d88ee42872 Gerrit-Change-Number: 22992 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/3b469618/attachment.htm>