Add timestamp to log entries