diff options
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r-- | openbsc/src/osmo-bsc/osmo_bsc_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c index 90651b95e..6081460c9 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_main.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c @@ -195,6 +195,9 @@ int main(int argc, char **argv) tall_bsc_ctx = talloc_named_const(NULL, 1, "openbsc"); msgb_talloc_ctx_init(tall_bsc_ctx, 0); + osmo_init_logging(&log_info); + osmo_stats_init(tall_bsc_ctx); + /* Allocate global gsm_network struct */ rc = bsc_network_alloc(NULL); if (rc) { @@ -202,9 +205,6 @@ int main(int argc, char **argv) exit(1); } - osmo_init_logging(&log_info); - osmo_stats_init(tall_bsc_ctx); - bts_init(); libosmo_abis_init(tall_bsc_ctx); |