aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-30 17:59:09 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-30 17:59:09 +0000
commit120d445b92033253b8466e8a52c45f6f2dfcf24c (patch)
tree3d7856331db4e5d8b16d229e860bb2fd0d07ac14 /src/libutil
parent06daf27b6ccc643fa6526860138b287966129037 (diff)
downloadrspamd-120d445b92033253b8466e8a52c45f6f2dfcf24c.tar.gz
rspamd-120d445b92033253b8466e8a52c45f6f2dfcf24c.zip
[Minor] Slightly improve log message
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/map.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c
index 6bcf8d081..441b408ba 100644
--- a/src/libutil/map.c
+++ b/src/libutil/map.c
@@ -1941,8 +1941,11 @@ rspamd_map_on_stat (struct ev_loop *loop, ev_stat *w, int revents)
if (w->attr.st_nlink > 0) {
if (w->attr.st_mtime > w->prev.st_mtime) {
- msg_info_map ("old mtime is %t, new mtime is %t for map file %s",
- w->prev.st_mtime, w->attr.st_mtime, w->path);
+ msg_info_map ("old mtime is %t (size = %Hz), "
+ "new mtime is %t (size = %Hz) for map file %s",
+ w->prev.st_mtime, (gsize)w->prev.st_size,
+ w->attr.st_mtime, (gsize)w->attr.st_size,
+ w->path);
/* Fire need modify flag */
struct rspamd_map_backend *bk;