def METHOD_NAME(self):
  """
  Handle multiple requests - each expected to be a 4-byte length,
  followed by the LogRecord in pickle format. Logs the record
  according to whatever policy is configured locally.
  """
  while self.server.ready:
    chunk = self.connection.recv(4)
    if len(chunk) < 4:
      break
    slen = struct.unpack('>L', chunk)[0]
    chunk = self.connection.recv(slen)
    while len(chunk) < slen:
      chunk = chunk + self.connection.recv(slen - len(chunk))
    obj = pickle.loads(chunk)
    record = logging.makeLogRecord(obj)
    self.handleLogRecord(record)