aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-05 05:31:14 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-05 15:15:30 +0100
commitb10c480d9926378f20521c97f120a6895c09a53b (patch)
tree1fae54e82e2d8c7e5370492eafb35b398db98449 /src
parentf7a6329bbd5dd621eccc10a05141b58f3b72ec06 (diff)
ctx cleanups WIPneels/deb9-asan
Diffstat (limited to 'src')
-rw-r--r--src/ipaccess/ipaccess-config.c2
-rw-r--r--src/ipaccess/ipaccess-proxy.c2
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c2
-rw-r--r--src/utils/bs11_config.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/ipaccess/ipaccess-config.c b/src/ipaccess/ipaccess-config.c
index a1985b761..a0416bfc5 100644
--- a/src/ipaccess/ipaccess-config.c
+++ b/src/ipaccess/ipaccess-config.c
@@ -861,7 +861,7 @@ int main(int argc, char **argv)
tall_ctx_config = talloc_named_const(NULL, 0, "ipaccess-config");
msgb_talloc_ctx_init(tall_ctx_config, 0);
- osmo_init_logging(&log_info);
+ osmo_init_logging2(&log_info, tall_ctx_config);
log_parse_category_mask(osmo_stderr_target, "DNM,0");
bts_model_nanobts_init();
diff --git a/src/ipaccess/ipaccess-proxy.c b/src/ipaccess/ipaccess-proxy.c
index 6a3af287c..baa114d26 100644
--- a/src/ipaccess/ipaccess-proxy.c
+++ b/src/ipaccess/ipaccess-proxy.c
@@ -1228,7 +1228,7 @@ int main(int argc, char **argv)
tall_bsc_ctx = talloc_named_const(NULL, 1, "ipaccess-proxy");
msgb_talloc_ctx_init(tall_bsc_ctx, 0);
- osmo_init_logging(&log_info);
+ osmo_init_logging2(&log_info, tall_bsc_ctx);
log_parse_category_mask(osmo_stderr_target, "DLINP:DLMI");
handle_options(argc, argv);
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index af8f83dae..ebf6a2ea3 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -415,7 +415,7 @@ int main(int argc, char **argv)
tall_tqe_ctx = talloc_named_const(tall_bsc_ctx, 0, "subch_txq_entry");
tall_ctr_ctx = talloc_named_const(tall_bsc_ctx, 0, "counter");
- osmo_init_logging(&log_info);
+ osmo_init_logging2(&log_info, tall_bsc_ctx);
osmo_stats_init(tall_bsc_ctx);
/* Allocate global gsm_network struct */
diff --git a/src/utils/bs11_config.c b/src/utils/bs11_config.c
index bc0f488d4..ea6b79007 100644
--- a/src/utils/bs11_config.c
+++ b/src/utils/bs11_config.c
@@ -911,7 +911,7 @@ int main(int argc, char **argv)
tall_fle_ctx = talloc_named_const(tall_bs11cfg_ctx, 0, "bs11_file_list_entry");
msgb_talloc_ctx_init(tall_bs11cfg_ctx, 0);
- osmo_init_logging(&log_info);
+ osmo_init_logging2(&log_info, tall_bs11cfg_ctx);
handle_options(argc, argv);
bts_model_bs11_init();