From 68a9cd68aab77ac8f3951b1e809bb4310490db2c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Mar 2013 14:42:33 +0100 Subject: cell_log: Move from LOG_INFO to LOG_NOTICE for the operator messages We are ignoring the debug and info levels in the default configuration of the syslog. Change it to notice to make sure it is written to the log. --- src/util/cell_log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/util/cell_log.c b/src/util/cell_log.c index f0c4d35..83d4f4e 100644 --- a/src/util/cell_log.c +++ b/src/util/cell_log.c @@ -218,7 +218,7 @@ static int net_msghandler(struct lgsm_handle *lh, struct gsmd_msg_hdr *gmh) break; case GSMD_NETWORK_OPER_LIST: for (; !opers->is_last; opers ++) { - syslog(LOG_INFO, "OPER: %8.*s %16.*s, %.*s for short, is %s\n", + syslog(LOG_NOTICE, "OPER: %8.*s %16.*s, %.*s for short, is %s\n", sizeof(opers->opname_num), opers->opname_num, sizeof(opers->opname_longalpha), @@ -403,7 +403,7 @@ int celllog_main(struct lgsm_handle *lgsmh) static int cinfo_handler(struct lgsm_handle *lh, int evt, struct gsmd_evt_auxdata *aux) { - syslog(LOG_INFO, "EVENT: Cell Info: %03u-%03u-%04x-%04x @ %04u (%02u)\n", + syslog(LOG_NOTICE, "EVENT: Cell Info: %03u-%03u-%04x-%04x @ %04u (%02u)\n", aux->u.cell_info.mcc, aux->u.cell_info.mnc, aux->u.cell_info.lac, aux->u.cell_info.ci, aux->u.cell_info.arfcn, aux->u.cell_info.rxlev); we_have_seen_network(aux->u.cell_info.mcc, aux->u.cell_info.mnc); -- cgit v1.2.3