aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-06-28 15:39:11 +0200
committerpespin <pespin@sysmocom.de>2022-06-29 15:14:10 +0000
commit46fe68094415795a454ac049e7351cf779d03633 (patch)
tree13ec44d30c864ccca5eecd25a14a2a7b61156d7e /src/osmo-bsc
parentadc3e36a3eba9d7dd4dee3f90a43c30b1e3b074e (diff)
cbsp: Change log level ERROR->INFO on CBSP tx and link down
Let's decrease the logging since it's fine simply discarding the message if the link is down. This way all code sending messages doesn't need to care about the link state. Change-Id: I64356ec6a7b3a4e11a0e66b17efab2788b1ca5cc
Diffstat (limited to 'src/osmo-bsc')
-rw-r--r--src/osmo-bsc/cbsp_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/cbsp_link.c b/src/osmo-bsc/cbsp_link.c
index d8c32ecf9..849b802fe 100644
--- a/src/osmo-bsc/cbsp_link.c
+++ b/src/osmo-bsc/cbsp_link.c
@@ -301,7 +301,7 @@ int cbsp_tx_decoded(struct bsc_cbc_link *cbc, struct osmo_cbsp_decoded *cbsp)
struct msgb *msg;
if (!cbc->client.cli && !cbc->server.srv) {
- LOGP(DCBS, LOGL_ERROR, "Discarding Tx CBSP Message Type %s, link is down\n",
+ LOGP(DCBS, LOGL_INFO, "Discarding Tx CBSP Message Type %s, link is down\n",
get_value_string(cbsp_msg_type_names, cbsp->msg_type));
talloc_free(cbsp);
return 0;