[MERGED] openbsc[master]: nanobts_omlattra_test: Initialize logging before executing t...
Harald Welte has submitted this change and it was merged. Change subject: nanobts_omlattra_test: Initialize logging before executing tests .. nanobts_omlattra_test: Initialize logging before executing tests ... the library code we call could want to log something, after all. Port of osmo-bsc Change-Id Ic01e9bfb63d7b6def9432103e744c23c90f0f6b9 Change-Id: Ib4be9541771e95ca4e051b778fc3958202aab9ab --- M openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: Harald Welte: Looks good to me, approved; Verified diff --git a/openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c b/openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c index fc358f5..5c6e519 100644 --- a/openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c +++ b/openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c @@ -192,6 +192,9 @@ struct gsm_network *net; struct gsm_bts_trx *trx; + osmo_init_logging(_info); + log_set_log_level(osmo_stderr_target, LOGL_INFO); + ctx = talloc_named_const(NULL, 0, "ctx"); /* Allocate environmental structs (bts, net, trx) */ -- To view, visit https://gerrit.osmocom.org/4419 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib4be9541771e95ca4e051b778fc3958202aab9ab Gerrit-PatchSet: 1 Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Owner: Harald WelteGerrit-Reviewer: Harald Welte
openbsc[master]: nanobts_omlattra_test: Initialize logging before executing t...
Patch Set 1: Verified+1 -- To view, visit https://gerrit.osmocom.org/4419 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib4be9541771e95ca4e051b778fc3958202aab9ab Gerrit-PatchSet: 1 Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Owner: Harald WelteGerrit-Reviewer: Harald Welte Gerrit-HasComments: No
[PATCH] openbsc[master]: nanobts_omlattra_test: Initialize logging before executing t...
Review at https://gerrit.osmocom.org/4419 nanobts_omlattra_test: Initialize logging before executing tests ... the library code we call could want to log something, after all. Port of osmo-bsc Change-Id Ic01e9bfb63d7b6def9432103e744c23c90f0f6b9 Change-Id: Ib4be9541771e95ca4e051b778fc3958202aab9ab --- M openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/19/4419/1 diff --git a/openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c b/openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c index fc358f5..5c6e519 100644 --- a/openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c +++ b/openbsc/tests/nanobts_omlattr/nanobts_omlattr_test.c @@ -192,6 +192,9 @@ struct gsm_network *net; struct gsm_bts_trx *trx; + osmo_init_logging(_info); + log_set_log_level(osmo_stderr_target, LOGL_INFO); + ctx = talloc_named_const(NULL, 0, "ctx"); /* Allocate environmental structs (bts, net, trx) */ -- To view, visit https://gerrit.osmocom.org/4419 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib4be9541771e95ca4e051b778fc3958202aab9ab Gerrit-PatchSet: 1 Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Owner: Harald Welte
openbsc[master]: nanobts_omlattra_test: Initialize logging before executing t...
Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/4419 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib4be9541771e95ca4e051b778fc3958202aab9ab Gerrit-PatchSet: 1 Gerrit-Project: openbsc Gerrit-Branch: master Gerrit-Owner: Harald WelteGerrit-Reviewer: Harald Welte Gerrit-HasComments: No