diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-22 12:29:35 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-22 12:29:35 +0100 |
commit | a0fd44840c7456f226c29a6cd15bc01f7a31930a (patch) | |
tree | aa056bcd5416a0564fffa441cf18ef81a2643648 /src/plugins/lua | |
parent | c61011e62da10e41d8ee1fe9c779dc1e0a1cf2d0 (diff) | |
download | rspamd-a0fd44840c7456f226c29a6cd15bc01f7a31930a.tar.gz rspamd-a0fd44840c7456f226c29a6cd15bc01f7a31930a.zip |
[Minor] Add some debugging
Diffstat (limited to 'src/plugins/lua')
-rw-r--r-- | src/plugins/lua/multimap.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index 38052f6f0..f0f1ec719 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -430,6 +430,8 @@ local function multimap_callback(task, rule) local pre_filter = rule['prefilter'] local function match_element(r, value, callback) + lua_util.debugm(N, task, 'check value %s for multimap %s', value, + rule.symbol) if not value then return false end @@ -877,6 +879,8 @@ local function multimap_callback(task, rule) if ext then local fake_fname = string.format('detected.%s', ext) + lua_util.debugm(N, task, 'detected filename %s (%s content-type)', + fake_fname, detected_ct) match_filename(rule, fake_fname) end end |