edda25 opened a new issue, #12134: URL: https://github.com/apache/apisix/issues/12134
### Current Behavior We’re currently using http_logger plugin on routes in Apisix. The aim is to capture and forward HTTP responses to a mirroring service, thus the attribute include_resp_body is set to true. However, we’ve encountered an issue where response bodies are being truncated at ca. 500KB. Some of the responses we deal with can have order of magnitude of MBs, and having the complete body is crucial for our use case. We didn't find any reference in the documentation about this limitation. To summarize: - Response bodies larger than 500KB are being cut off. - We need the full response body in order to mirror server responses accurately. Questions: - Where is this 500KB threshold defined? Is this a limitation of Nginx or is it an internal setting of http_logger? - Is there a way to configure this threshold and increase the maximum captured body size? We’d appreciate any guidance on how to lift or modify this limit. Thanks in advance! ### Expected Behavior No truncation of body responses. ### Error Logs _No response_ ### Steps to Reproduce 1. Configure http_logger 2. Send requests to the route with response size bigger than 500K 3. Monitor http_logger destination ### Environment - APISIX version (run `apisix version`): 3.10 - Operating system (run `uname -a`): Linux - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): openresty/1.25.3.2 -- 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]
