From 9e440866b5605e039be7d943ce6d0527372d3e1a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 10 Sep 2022 13:03:26 +0100 Subject: [PATCH] [Minor] Slightly improve log message --- src/libserver/symcache/symcache_impl.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libserver/symcache/symcache_impl.cxx b/src/libserver/symcache/symcache_impl.cxx index 8d16f1c7c..b2f6004aa 100644 --- a/src/libserver/symcache/symcache_impl.cxx +++ b/src/libserver/symcache/symcache_impl.cxx @@ -1218,8 +1218,10 @@ auto symcache::get_max_timeout(std::vector if (it->priority != saved_priority) { accumulated_timeout += max_timeout; added_timeout += max_timeout; - msg_debug_cache_lambda("added %.2f to the timeout (%.2f) as the priority has changed (%d -> %d)", - max_timeout, accumulated_timeout, saved_priority, it->priority); + msg_debug_cache_lambda("added %.2f to the timeout (%.2f) as the priority has changed (%d -> %d);" + "symbol: %s", + max_timeout, accumulated_timeout, saved_priority, it->priority, + it->symbol.c_str()); if (!seen_items.contains(max_elt)) { elts.emplace_back(max_timeout, max_elt); seen_items.insert(max_elt); -- 2.39.5