You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/11/29 07:04:31 UTC

[GitHub] [apisix] kingluo commented on issue #8418: help request: http-logger include_resp_body does not take effect

kingluo commented on issue #8418:
URL: https://github.com/apache/apisix/issues/8418#issuecomment-1330174093

   @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.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org