add a timestamp to log messages to prevent the last message repeated message in syslog.