From 14f88f3317edc1114b6e91799f6a1d05f36ffa7b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 6 Apr 2016 14:26:54 +0100 Subject: [PATCH] [Minor] Slightly improve logging for fann reload --- src/plugins/lua/fann_scores.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/lua/fann_scores.lua b/src/plugins/lua/fann_scores.lua index 63dcb5733..5085c90a6 100644 --- a/src/plugins/lua/fann_scores.lua +++ b/src/plugins/lua/fann_scores.lua @@ -97,6 +97,8 @@ local function check_fann() local mtime = st['mtime'] if mtime > fann_mtime then + rspamd_logger.infox(rspamd_config, 'have more fresh version of fann ' .. + 'file: %s -> %s, need to reload %s', fann_mtime, mtime, fann_file) fann_mtime = mtime fann = nil end -- 2.39.5