diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-30 23:04:04 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-30 23:20:03 +0200 |
commit | 08b3828995d4fcfb32dbba6a92836bf38945d03a (patch) | |
tree | 8099c7f7fb1dd626c6a42ca4524531af5dc1fe99 /src/osmo-msc | |
parent | 053e27528cf4da1f96bd5bf78c6982b73b790100 (diff) |
use osmo_init_logging2() with proper talloc ctx
Since the logging allocations now also show up in the root context report, some
tests need adjusted talloc checks.
In msc_vlr_tests, also output the number of talloc blocks before tests are
started to show that the number didn't change after the tests.
Change-Id: Iae07ae60230c7bab28e52b5df97fa3844778158e
Diffstat (limited to 'src/osmo-msc')
-rw-r--r-- | src/osmo-msc/msc_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c index 2b1a8c753..85a8fe178 100644 --- a/src/osmo-msc/msc_main.c +++ b/src/osmo-msc/msc_main.c @@ -531,7 +531,7 @@ int main(int argc, char **argv) tall_call_ctx = talloc_named_const(tall_msc_ctx, 0, "gsm_call"); tall_trans_ctx = talloc_named_const(tall_msc_ctx, 0, "transaction"); - osmo_init_logging(&log_info); + osmo_init_logging2(tall_msc_ctx, &log_info); osmo_stats_init(tall_msc_ctx); /* For --version, vty_init() must be called before handling options */ |