From 951fea5f6145cb48a061af0187315fda0cc407e3 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 5 Nov 2021 12:18:14 +0100 Subject: [PATCH] bearer_manager,rlc: reduce log level of message to warning level relevant for the UE when it receives 2nd reconfiguration it could be that the bearers are added again. in this case the handling is fine and everything will work as expected. No reason to log error. --- lib/src/common/bearer_manager.cc | 2 +- lib/src/rlc/rlc.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/common/bearer_manager.cc b/lib/src/common/bearer_manager.cc index 773a3b5a0..3114a0c5e 100644 --- a/lib/src/common/bearer_manager.cc +++ b/lib/src/common/bearer_manager.cc @@ -86,7 +86,7 @@ void ue_bearer_manager::add_eps_bearer(uint8_t eps_bearer_id, srsran::srsran_rat logger.info( "Bearers: Registered EPS bearer ID %d for lcid=%d over %s-PDCP", eps_bearer_id, lcid, to_string(rat).c_str()); } else { - logger.error("Bearers: EPS bearer ID %d already registered", eps_bearer_id); + logger.warning("Bearers: EPS bearer ID %d already registered", eps_bearer_id); } } diff --git a/lib/src/rlc/rlc.cc b/lib/src/rlc/rlc.cc index 624145116..f0243882e 100644 --- a/lib/src/rlc/rlc.cc +++ b/lib/src/rlc/rlc.cc @@ -383,7 +383,7 @@ int rlc::add_bearer(uint32_t lcid, const rlc_config_t& cnfg) rwlock_write_guard lock(rwlock); if (valid_lcid(lcid)) { - logger.error("LCID %d already exists", lcid); + logger.warning("LCID %d already exists", lcid); return SRSRAN_ERROR; }