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
master
Andre Puschmann 3 years ago
parent 840aac7fda
commit 02ba06d8cf

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

Loading…
Cancel
Save