aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 11:29:47 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 11:29:47 +0100
commit8653233b5732b60ee00852d9c71eaf85064a6fde (patch)
tree47a8fff095865c767ca1f2056905393beb04b2ab /src
parent4c928485ba9a52621e5832a9f7a3e573f328a7eb (diff)
tests/hnb-test: Initialize logging with existing struct log_info
Diffstat (limited to 'src')
-rw-r--r--src/tests/hnb-test.c2
1 files changed, 2 insertions, 0 deletions
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 @@ int main(int argc, char **argv)
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();