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
This commit is contained in:
Max 2016-11-01 11:51:51 +01:00
parent 87c0056480
commit 05adbdcb2e
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}
}