From a8ba7a7badc3f13c23042a2a9de1ceb36184350b Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Mon, 3 Jun 2019 19:37:46 +0700 Subject: lchan_select.c: tune log level in lchan_select_by_type() If lchan_select_by_type() fails to find a suitable logical channel, it would print a message using LOGL_ERROR. This can happen if all logical channels of the requested type are busy, thus it is not a error. Let's use LOGL_NOTICE for that. Change-Id: I9b45852116253e5237b779a91bed8b800758360e --- src/osmo-bsc/lchan_select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osmo-bsc/lchan_select.c b/src/osmo-bsc/lchan_select.c index 6df3b4a6b..d63db22d3 100644 --- a/src/osmo-bsc/lchan_select.c +++ b/src/osmo-bsc/lchan_select.c @@ -234,7 +234,7 @@ struct gsm_lchan *lchan_select_by_type(struct gsm_bts *bts, enum gsm_chan_t type lchan->type = type; LOG_LCHAN(lchan, LOGL_INFO, "Selected\n"); } else - LOG_BTS(bts, DRLL, LOGL_ERROR, "Failed to select %s channel\n", + LOG_BTS(bts, DRLL, LOGL_NOTICE, "Failed to select %s channel\n", gsm_lchant_name(type)); return lchan; -- cgit v1.2.3