adding timestamps to log messages