aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-litecell15')
-rw-r--r--src/osmo-bts-litecell15/misc/lc15bts_mgr.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr.c b/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
index 7886a5e2..dbdcc9f0 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
@@ -281,12 +281,6 @@ static const struct log_info mgr_log_info = {
.num_cat = ARRAY_SIZE(mgr_log_info_cat),
};
-static int mgr_log_init(void)
-{
- osmo_init_logging(&mgr_log_info);
- return 0;
-}
-
int main(int argc, char **argv)
{
int rc;
@@ -294,7 +288,7 @@ int main(int argc, char **argv)
tall_mgr_ctx = talloc_named_const(NULL, 1, "bts manager");
msgb_talloc_ctx_init(tall_mgr_ctx, 0);
- mgr_log_init();
+ osmo_init_logging2(tall_mgr_ctx, &mgr_log_info);
osmo_init_ignore_signals();
signal(SIGINT, &signal_handler);