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.
master
Andre Puschmann 3 years ago
parent 2d6ce768c7
commit 951fea5f61

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

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

Loading…
Cancel
Save