Replies: 1 comment 10 replies
-
在日志打印的时候,能否新增一个 resp_limit_size 的字段来控制响应 body 的打印?例如响应 body 超过了这个长度,则默认不打印,或者按规定长度截断这个 resp_body? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose I have two fields,
include_resp_body
as the switch,resp_limit_size
as the limit size. After configuring these two parameters, if resp_body exceeds the size of resp_limit_size, resp_body will not be recorded in the log. The same is true for req_bodyBeta Was this translation helpful? Give feedback.
All reactions