diff --git a/src/common/abis.c b/src/common/abis.c index f9063e78f..9b412bff7 100644 --- a/src/common/abis.c +++ b/src/common/abis.c @@ -525,7 +525,8 @@ void abis_close(struct ipabis_link *link) bts_shutdown(link->bts, "Abis close / OML"); else if (link->trx) bts_shutdown(link->trx->bts, "Abis close / RSL"); - else + else { + LOGP(DABIS, LOGL_FATAL, "Unable to connect to BSC\n"); exit(43); + } } - diff --git a/src/common/bts.c b/src/common/bts.c index 22008572a..35999294a 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -21,6 +21,8 @@ */ #include +#include +#include #include #include @@ -62,6 +64,7 @@ int bts_init(struct gsm_bts *bts) static void shutdown_timer_cb(void *data) { + fprintf(stderr, "Shutdown timer expired\n"); exit(42); } @@ -73,7 +76,7 @@ void bts_shutdown(struct gsm_bts *bts, const char *reason) { struct gsm_bts_trx *trx; - LOGP(DOML, LOGL_INFO, "Shutting down BTS %u, Reason %s\n", + LOGP(DOML, LOGL_NOTICE, "Shutting down BTS %u, Reason %s\n", bts->nr, reason); llist_for_each_entry(trx, &bts->trx_list, list)