From: Vsevolod Stakhov Date: Sun, 18 Dec 2022 19:28:51 +0000 (+0000) Subject: [Minor] Improve logging X-Git-Tag: 3.5~141 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=623d10c48edb37988d71ece45dc34d5a869ca397;p=rspamd.git [Minor] Improve logging --- diff --git a/lualib/lua_selectors/init.lua b/lualib/lua_selectors/init.lua index 7c8d526d2..da0ca104f 100644 --- a/lualib/lua_selectors/init.lua +++ b/lualib/lua_selectors/init.lua @@ -280,7 +280,7 @@ exports.parse_selector = function(cfg, str) local res,err = selt:transform(args[i]) if err then - logger.errx(rspamd_config, 'invalid arguments for %s: %s', name, err) + logger.errx(rspamd_config, 'invalid arguments for %s: argument number: %s, error: %s', name, i, err) return false else args[i] = res