ZChengjin commented on issue #8418: URL: https://github.com/apache/apisix/issues/8418#issuecomment-1330380621
> @ZChengjin if you set `log_format`, then it would ignore `include_req_body` and `include_resp_body`. And currently, APISIX has no built-in variable to provide the response body. But for the request body, a workaround may be to use nginx variable `$request_body` in your log format, but if the body is larger than 8kB (APISIX setting), then it doesn't work. As you said, I got the request body,it is meaned that i can get response body by registering myown variable? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
