From bb7cf062a528b81786d3b1a3686748edd076cbe3 Mon Sep 17 00:00:00 2001 From: Angelo Puglisi Date: Wed, 20 Nov 2024 11:35:10 +0100 Subject: [PATCH] chore(libsinsp): reduce max proc lookup number log severity Signed-off-by: Angelo Puglisi --- userspace/libsinsp/threadinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userspace/libsinsp/threadinfo.cpp b/userspace/libsinsp/threadinfo.cpp index 1ca8cff3ed..f25a28eead 100644 --- a/userspace/libsinsp/threadinfo.cpp +++ b/userspace/libsinsp/threadinfo.cpp @@ -1983,13 +1983,13 @@ const threadinfo_map_t::ptr_t& sinsp_thread_manager::get_thread_ref(int64_t tid, m_n_proc_lookups++; if(m_n_proc_lookups == m_max_n_proc_lookups) { - libsinsp_logger()->format(sinsp_logger::SEV_INFO, + libsinsp_logger()->format(sinsp_logger::SEV_DEBUG, "Reached max process lookup number, duration=%" PRIu64 "ms", m_n_proc_lookups_duration_ns / 1000000); } if(scan_sockets && m_n_proc_lookups == m_max_n_proc_socket_lookups) { - libsinsp_logger()->format(sinsp_logger::SEV_INFO, + libsinsp_logger()->format(sinsp_logger::SEV_DEBUG, "Reached max socket lookup number, tid=%" PRIu64 ", duration=%" PRIu64 "ms", tid,