diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-12-29 13:49:03 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-29 13:49:03 +0600 |
commit | 7c8502219dccba0ce295fb1304d6a4f080cbd9b0 (patch) | |
tree | bd6b146c2b47c6e437d8cdfe0cbe35505a063687 | |
parent | 689e153b33ebfef7cbd76be7e21e045dd8ac0dc1 (diff) | |
parent | 0d5dc0bf03cb0d2ebebcf57773546cae301feaa0 (diff) | |
download | rspamd-7c8502219dccba0ce295fb1304d6a4f080cbd9b0.tar.gz rspamd-7c8502219dccba0ce295fb1304d6a4f080cbd9b0.zip |
Merge pull request #5269 from corbosman/cloudmark
[minor] log queue id with cloudmark analysis string
-rw-r--r-- | lualib/lua_scanners/cloudmark.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lualib/lua_scanners/cloudmark.lua b/lualib/lua_scanners/cloudmark.lua index ccb45b047..26a3bf9c4 100644 --- a/lualib/lua_scanners/cloudmark.lua +++ b/lualib/lua_scanners/cloudmark.lua @@ -263,7 +263,8 @@ local function parse_cloudmark_reply(task, rule, body) if obj.analysis then -- Report analysis string - rspamd_logger.infox(task, 'cloudmark report string: %s', obj.analysis) + local qid = task:get_queue_id() or 'unknown' + rspamd_logger.infox(task, 'qid: <%s>, cloudmark report string: %s', qid, obj.analysis) end local score = tonumber(obj.score) or 0 |