dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/26892 ) Change subject: test_common: use osmo_init_logging2 instead of osmo_init_logging ...................................................................... test_common: use osmo_init_logging2 instead of osmo_init_logging osmo_init_logging is deprecated, lets use osmo_init_logging2 Change-Id: I00ff05e27a89f515f0ce874d6f130b2937b8f1cc --- M src/tests/test_common.c 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/92/26892/1 diff --git a/src/tests/test_common.c b/src/tests/test_common.c index 899c73a..187a269 100644 --- a/src/tests/test_common.c +++ b/src/tests/test_common.c @@ -70,16 +70,18 @@ .num_cat = ARRAY_SIZE(log_cat), }; +static void *tall_hnb_ctx; static void *msgb_ctx; int test_common_init(void) { int rc; + tall_hnb_ctx = talloc_named_const(NULL, 0, "hnb_context"); msgb_ctx = msgb_talloc_ctx_init(NULL, 0); talloc_asn1_ctx = talloc_named_const(NULL, 0, "asn1_context"); - rc = osmo_init_logging(&test_log_info); + rc = osmo_init_logging2(tall_hnb_ctx, &test_log_info); if (rc < 0) exit(1); -- To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/26892 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Change-Id: I00ff05e27a89f515f0ce874d6f130b2937b8f1cc Gerrit-Change-Number: 26892 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier@sysmocom.de> Gerrit-MessageType: newchange