aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_util.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-13 15:04:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-13 15:04:42 +0100
commit4ba8e13af571398fbaa8877c999ee77fd39f39ac (patch)
treefab5ea72b716dd894395601e995b368869f5bedc /lualib/lua_util.lua
parent149a6439a79d45f4ec0fb683385e4a44e3cf2862 (diff)
downloadrspamd-4ba8e13af571398fbaa8877c999ee77fd39f39ac.tar.gz
rspamd-4ba8e13af571398fbaa8877c999ee77fd39f39ac.zip
[Minor] Fix conditional debugging
Diffstat (limited to 'lualib/lua_util.lua')
-rw-r--r--lualib/lua_util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua
index 64d949270..0ce0c1874 100644
--- a/lualib/lua_util.lua
+++ b/lualib/lua_util.lua
@@ -693,7 +693,7 @@ end
exports.debugm = function(mod, ...)
local logger = require "rspamd_logger"
if unconditional_debug or debug_modules[mod] then
- logger.logx(log_level, ...)
+ logger.logx(log_level, mod, ...)
end
end