]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Additional log message for greylist plugin 1364/head
authorAndrew Lewis <nerf@judo.za.org>
Mon, 23 Jan 2017 08:34:28 +0000 (10:34 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 23 Jan 2017 08:34:28 +0000 (10:34 +0200)
src/plugins/lua/greylist.lua

index 3de1a0a7afeeb131b09a5adb4b965f3212a35b6d..7bc3ca838aa2b812fabb74fd96263419cb6682ea 100644 (file)
@@ -276,6 +276,7 @@ local function greylist_set(task)
   if is_whitelisted then
     if action == 'greylist' then
       -- We are going to accept message
+      rspamd_logger.infox(task, 'Downgrading metric action from "greylist" to "no action"')
       task:set_metric_action('default', 'no action')
     end