docs: def _get_logger(self):
          """Get the appropriate logger
  
          Prevents uninitialized servers in write-only mode from failing.
          """
  
          if self.logger:
              return self.logger
          elif self.server:
              return self.server.logger
          else:
              return default_logger