Only log when mtime is different