kamly commented on PR #9712:
URL: https://github.com/apache/apisix/pull/9712#issuecomment-1627563811

   > In fact, `file-logger` plugin support `include_req_body` and 
`include_req_body_expr`. You can refer to the [kafka plugin for 
configuration](https://apisix.apache.org/docs/apisix/plugins/kafka-logger/) and 
have a try.
   
   I got it ~
   
   But `file-logger` plugin does not support `include_req_body_expr` because 
the `schema` does not define `include_req_body_expr` . 
   
   
https://github.com/apache/apisix/blob/bb0a0e6e87eb0f15807be6fed0e7c983855d491c/apisix/plugins/file-logger.lua#L27-L44
   
   Maybe the author who wrote it before missed it, I can try to align 
`kafka-logger` plugin
   
   @monkeyDluffy6017 WDYT ?
   
   


-- 
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]

Reply via email to