'Internal version of reset() with no locking.'

def _reset(self):

    self._bytes = sum((len(record) for record in self._buffer))
    self._flush_time = time.time()
    self._request = logsutil.RequestID()
