Adding timestamp to log entry