From 02ba06d8cf3b3e6555403520451d0a1e73c9302e Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 29 Apr 2022 15:58:49 +0200 Subject: [PATCH] gnb,ngap: reduce loglevel for unhandled NGAP message avoid test failure with core sending 2022-04-29T13:44:00.579989 [NGAP ] [I] Rx - PDUSessionResourceReleaseCommand (53 B) 0000: 00 1c 00 31 00 00 04 00 0a 00 02 00 01 00 55 00 0010: 02 00 01 00 26 40 15 14 7e 02 31 3f 3a c9 04 7e 2022-04-29T13:44:00.579990 [NGAP ] [E] Unhandled initiating message: PDUSessionResourceReleaseCommand --- srsgnb/src/stack/ngap/ngap.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srsgnb/src/stack/ngap/ngap.cc b/srsgnb/src/stack/ngap/ngap.cc index 423af12ab..16a44188b 100644 --- a/srsgnb/src/stack/ngap/ngap.cc +++ b/srsgnb/src/stack/ngap/ngap.cc @@ -417,7 +417,7 @@ bool ngap::handle_ngap_rx_pdu(srsran::byte_buffer_t* pdu) case ngap_pdu_c::types_opts::unsuccessful_outcome: return handle_unsuccessful_outcome(rx_pdu.unsuccessful_outcome()); default: - logger.error("Unhandled PDU type %d", rx_pdu.type().value); + logger.warning("Unhandled PDU type %d", rx_pdu.type().value); return false; } @@ -438,7 +438,7 @@ bool ngap::handle_initiating_message(const asn1::ngap::init_msg_s& msg) case ngap_elem_procs_o::init_msg_c::types_opts::paging: return handle_paging(msg.value.paging()); default: - logger.error("Unhandled initiating message: %s", msg.value.type().to_string()); + logger.warning("Unhandled initiating message: %s", msg.value.type().to_string()); } return true; }