From 88a5eb707a8f7b47833b495c51516f6d67cc1e97 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Fri, 19 Jul 2024 13:16:04 +0000 Subject: [PATCH] update(libsinsp): raise error severity Signed-off-by: Luca Guerra --- userspace/libsinsp/event.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userspace/libsinsp/event.cpp b/userspace/libsinsp/event.cpp index 87a5aa4741..303227ec94 100644 --- a/userspace/libsinsp/event.cpp +++ b/userspace/libsinsp/event.cpp @@ -2184,8 +2184,8 @@ void sinsp_evt_param::throw_invalid_len_error(size_t requested_length) const << ": expected length " << requested_length << ", found " << m_len; std::string error_string = ss.str(); - libsinsp_logger()->log(error_string, sinsp_logger::SEV_DEBUG); - libsinsp_logger()->log("parameter raw data: \n" + buffer_to_multiline_hex(m_val, m_len), sinsp_logger::SEV_DEBUG); + libsinsp_logger()->log(error_string, sinsp_logger::SEV_ERROR); + libsinsp_logger()->log("parameter raw data: \n" + buffer_to_multiline_hex(m_val, m_len), sinsp_logger::SEV_ERROR); throw sinsp_exception(error_string); }