docs: def install_handler(self, app):
          """Install logging handler."""
          # Configure python logging
          if app.config['LOGGING_CONSOLE_PYWARNINGS']:
              self.capture_pywarnings(logging.StreamHandler())
  
          if app.config['LOGGING_CONSOLE_LEVEL'] is not None:
              for h in app.logger.handlers:
                  h.setLevel(app.config['LOGGING_CONSOLE_LEVEL'])
  
          # Add request_id to log record
          app.logger.addFilter(add_request_id_filter)