aboutsummaryrefslogtreecommitdiffstats
path: root/tests/alloc/AllocTest.cpp
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-19 14:01:52 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-02-19 16:24:11 +0100
commit00f52cc3d61f373b8778a853ae1ede7fe9e95e90 (patch)
tree13f07e6c51f2dbcd276159fe89970d31a540f614 /tests/alloc/AllocTest.cpp
parentb18d2a5fd983dad07bb5145e17b5af772f87a058 (diff)
tests: Replace deprecated API log_set_print_filename
Diffstat (limited to 'tests/alloc/AllocTest.cpp')
-rw-r--r--tests/alloc/AllocTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/alloc/AllocTest.cpp b/tests/alloc/AllocTest.cpp
index eced0b84..cd48b296 100644
--- a/tests/alloc/AllocTest.cpp
+++ b/tests/alloc/AllocTest.cpp
@@ -813,7 +813,7 @@ int main(int argc, char **argv)
msgb_talloc_ctx_init(tall_pcu_ctx, 0);
osmo_init_logging2(tall_pcu_ctx, &gprs_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);
log_set_category_filter(osmo_stderr_target, DTBF, 1, LOGL_INFO);