summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-11-01 11:51:51 +0100
committerMax <msuraev@sysmocom.de>2016-11-01 11:51:51 +0100
commit05adbdcb2eabaca8426356ade5ca24a1be6e96d2 (patch)
tree6fe963329e2903aee4a4be9f5e54f6d5ccdc9c9f
parent87c00564805d9f55f168831cd52cf3f869d70637 (diff)
Decrease count_codecs logging verbosity
Use channel type name instead of number and log it with DEBUG facility otherwise it produces lots of irrelevant messages for SDCCH* Change-Id: I11b04e0cb02bf6ed01f6076cb31a56d8921d735e
-rw-r--r--openbsc/src/libbsc/abis_rsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 9656961c9..f6727501f 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -112,8 +112,8 @@ static void count_codecs(struct gsm_bts *bts, struct gsm_lchan *lchan)
break;
}
} else {
- LOGP(DRSL, LOGL_ERROR, "count_codecs unknown lchan->type %x on channel %s\n",
- lchan->type, gsm_ts_and_pchan_name(lchan->ts));
+ LOGP(DRSL, LOGL_DEBUG, "count_codecs unknown lchan->type %s on channel %s\n",
+ gsm_lchant_name(lchan->type), gsm_ts_and_pchan_name(lchan->ts));
}
}