From 05adbdcb2eabaca8426356ade5ca24a1be6e96d2 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 1 Nov 2016 11:51:51 +0100 Subject: 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 --- openbsc/src/libbsc/abis_rsl.c | 4 ++-- 1 file 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)); } } -- cgit v1.2.1