code: def write(self, text):
          
          if text:
              if text[0] in '(w':
                  # write thread and wsgi messages to debug only
                  self.log.debug(text[:-1])
                  return
              if self.access_log:
                  self.access_log.write(text)
              self.log.info(text[:-1])
docs: Write to appropriate target.