code: def _log_http_event(response):
          
          logger.info(
              '{ip} - - "{method} {path} {status_code}"'.format(
                  ip=request.remote_addr,
                  method=request.method,
                  path=request.path,
                  status_code=response.status_code)
          )
          return response
docs: It will create a log event as werkzeug but at the end of request holding the request-id
  
          Intended usage is a handler of Flask.after_request
          :return: The same response object