Change in osmo-iuh[master]: tests/hnb-test: Initialize logging with existing struct log_info

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jan 14 13:38:32 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-iuh/+/22176 )

Change subject: tests/hnb-test: Initialize logging with existing struct log_info
......................................................................

tests/hnb-test: Initialize logging with existing struct log_info

Change-Id: Ic92e60dda41a9e4d139294b1e851fff5c4f26143
---
M src/tests/hnb-test.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c
index 7824858..e6fa7ba 100644
--- a/src/tests/hnb-test.c
+++ b/src/tests/hnb-test.c
@@ -941,6 +941,8 @@
 
 	tall_hnb_ctx = talloc_named_const(NULL, 0, "hnb_context");
 
+	osmo_init_logging2(tall_hnb_ctx, &hnb_test_log_info);
+
 	vty_init(&vty_info);
 	hnbtest_vty_init();
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/22176
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: Ic92e60dda41a9e4d139294b1e851fff5c4f26143
Gerrit-Change-Number: 22176
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210114/8f9aa291/attachment.htm>


More information about the gerrit-log mailing list