From eb56efe9f5a37bcba640068143269bc6fd7c79f8 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 30 Jun 2020 14:25:56 +0200 Subject: [PATCH] rlc_am_lte: turn error message into warning and print state variables the issue doesn't cause any unrecoverable situation so its not appropiate to use the error level --- lib/src/upper/rlc_am_lte.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/src/upper/rlc_am_lte.cc b/lib/src/upper/rlc_am_lte.cc index bface4ad9..429f81a73 100644 --- a/lib/src/upper/rlc_am_lte.cc +++ b/lib/src/upper/rlc_am_lte.cc @@ -1675,7 +1675,10 @@ int rlc_am_lte::rlc_am_lte_rx::get_status_pdu(rlc_status_pdu_t* status, const ui status->N_nack = 0; } } else { - log->error("Failed to generate small enough status PDU\n"); + log->warning("Failed to generate small enough status PDU (packed_len=%d, max_pdu_size=%d, status->N_nack=%d)\n", + rlc_am_packed_length(status), + max_pdu_size, + status->N_nack); } break; }