diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-03-16 14:42:33 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-03-16 14:43:58 +0100 |
commit | 68a9cd68aab77ac8f3951b1e809bb4310490db2c (patch) | |
tree | fdb470c26c1f929b0f09b654031d203406fcd0c4 | |
parent | ee65ed386befd625a32bdd58e489d808c667e87a (diff) |
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.
-rw-r--r-- | src/util/cell_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |