nanobts_omlattra_test: Initialize logging before executing tests

... the library code we call could want to log something, after all.

Change-Id: Ic01e9bfb63d7b6def9432103e744c23c90f0f6b9
This commit is contained in:
Harald Welte 2017-10-03 15:45:30 +08:00
parent 824b27452f
commit f2b04c65f4
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,9 @@ int main(int argc, char **argv)
struct gsm_network *net;
struct gsm_bts_trx *trx;
osmo_init_logging(&log_info);
log_set_log_level(osmo_stderr_target, LOGL_INFO);
ctx = talloc_named_const(NULL, 0, "ctx");
/* Allocate environmental structs (bts, net, trx) */