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
This commit is contained in:
Andre Puschmann 2022-04-29 15:58:49 +02:00
parent 840aac7fda
commit 02ba06d8cf
1 changed files with 2 additions and 2 deletions

View File

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