]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Slightly improve log message
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 10 Sep 2022 12:03:26 +0000 (13:03 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 10 Sep 2022 12:03:26 +0000 (13:03 +0100)
src/libserver/symcache/symcache_impl.cxx

index 8d16f1c7c27c09f238f9287c10fda378053a6173..b2f6004aab70b88692f1cead5def2adc65eb7d92 100644 (file)
@@ -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);