Add timestamp to log messages