aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/symcache
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-09-10 13:03:26 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-09-10 13:03:26 +0100
commit9e440866b5605e039be7d943ce6d0527372d3e1a (patch)
tree6423521dcf0230c0ebbc7c87bbe883ac6f522d08 /src/libserver/symcache
parent08fb5403de2ac18b99924f522859de875c9cb87f (diff)
downloadrspamd-9e440866b5605e039be7d943ce6d0527372d3e1a.tar.gz
rspamd-9e440866b5605e039be7d943ce6d0527372d3e1a.zip
[Minor] Slightly improve log message
Diffstat (limited to 'src/libserver/symcache')
-rw-r--r--src/libserver/symcache/symcache_impl.cxx6
1 files 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<std::pair<double, const cache_item *>
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);