commit c13e7f7: [Minor] Improve settings id logging

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Jul 29 19:07:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-29 20:03:22 +0100
URL: https://github.com/rspamd/rspamd/commit/c13e7f78efdab5c5ebb0dedfc3bd7b2116cc6b9b (HEAD -> master)

[Minor] Improve settings id logging
Issue: #2994

---
 src/plugins/lua/settings.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua
index 6550dcef1..54bfcd47d 100644
--- a/src/plugins/lua/settings.lua
+++ b/src/plugins/lua/settings.lua
@@ -158,7 +158,8 @@ local function check_query_settings(task)
           elt.apply = lua_util.override_defaults(nset, elt.apply)
         end
         apply_settings(task, elt['apply'], settings_id)
-        rspamd_logger.infox(task, "applied settings id %s", settings_id)
+        rspamd_logger.infox(task, "applied settings id %s(%s)", settings_id,
+            elt.name)
         return true
       end
     else


More information about the Commits mailing list