aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-06-03 19:37:46 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-08-23 17:47:44 +0200
commita8ba7a7badc3f13c23042a2a9de1ceb36184350b (patch)
treed7899ae577a351c901534a01cbd3e3ad92d87af3 /src/osmo-bsc
parent60b6fdb20c92ab5557e1dcebcdf8c527b3b0d052 (diff)
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
Diffstat (limited to 'src/osmo-bsc')
-rw-r--r--src/osmo-bsc/lchan_select.c2
1 files changed, 1 insertions, 1 deletions
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;