From: Vsevolod Stakhov Date: Wed, 6 Apr 2016 13:26:54 +0000 (+0100) Subject: [Minor] Slightly improve logging for fann reload X-Git-Tag: 1.2.3~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=14f88f3317edc1114b6e91799f6a1d05f36ffa7b;p=rspamd.git [Minor] Slightly improve logging for fann reload --- 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