diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-06 14:26:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-06 14:26:54 +0100 |
commit | 14f88f3317edc1114b6e91799f6a1d05f36ffa7b (patch) | |
tree | 917453e7bea014101fe37f24da95dec902213c3f | |
parent | 85f4ad7eebf5e7778c487cf6edbd8dc97fb0f40c (diff) | |
download | rspamd-14f88f3317edc1114b6e91799f6a1d05f36ffa7b.tar.gz rspamd-14f88f3317edc1114b6e91799f6a1d05f36ffa7b.zip |
[Minor] Slightly improve logging for fann reload
-rw-r--r-- | src/plugins/lua/fann_scores.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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 |