diff -uNrp zabbix-2.2.3_org/src/zabbix_agent/logfiles.c zabbix-2.2.3/src/zabbix_agent/logfiles.c --- zabbix-2.2.3_org/src/zabbix_agent/logfiles.c 2014-05-22 17:15:14.111468198 +0900 +++ zabbix-2.2.3/src/zabbix_agent/logfiles.c 2014-05-22 17:17:22.659569004 +0900 @@ -934,6 +934,7 @@ int process_log(char *filename, zbx_uint { /* The file size has not changed. Nothing to do. Here we do not deal with a case of changing */ /* a logfile's content while keeping the same length. */ + *mtime = (int)buf.st_mtime; ret = SUCCEED; goto out; }