aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-02-18 19:25:44 +0100
committerlaforge <laforge@osmocom.org>2021-02-20 17:13:58 +0000
commit01e0d3e7fd3c43c6bc83f925ce9acba40265f0bf (patch)
treebe2db602dd5abe1953e3fcbb897dffe354d6a57f /utils
parent690b661fbc5f3794f7f8a363dc80535491f93b42 (diff)
Drop use of log_set_print_filename() API inside libosmocore
Let's use log_set_print_filename2() API instead, which has less ackward behavior implications like changing the print status of category-hex. Related: OS#5034 Change-Id: Ifc78e1dcba5baf0b41f6ccbbbd1e3f06552d73da
Diffstat (limited to 'utils')
-rw-r--r--utils/osmo-ns-dummy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/osmo-ns-dummy.c b/utils/osmo-ns-dummy.c
index ee7f5916..0af1a897 100644
--- a/utils/osmo-ns-dummy.c
+++ b/utils/osmo-ns-dummy.c
@@ -227,8 +227,7 @@ int main (int argc, char *argv[])
osmo_init_logging2(ctx, &log_info);
log_set_use_color(osmo_stderr_target, 0);
- log_set_print_filename(osmo_stderr_target, 0);
- log_set_print_filename(osmo_stderr_target, 0);
+ log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_NONE);
log_set_log_level(osmo_stderr_target, LOGL_INFO);
msgb_talloc_ctx_init(ctx, 0);
osmo_stats_init(ctx);