kamly commented on issue #9596:
URL: https://github.com/apache/apisix/issues/9596#issuecomment-1576067815

   > https://apisix.apache.org/docs/apisix/plugins/file-logger/
   > 
   > You may need `include_resp_body_expr`?
   
   i think `include_resp_body_expr` records the conditions of the body
   
   ```
   "include_resp_body": true,
   "include_resp_body_expr": [
       [
         "arg_foo",
         "==",
         "bar"
       ]
   ]
   ```
   is arg foo is bar , can log the response body
   
   but what I want is that if the method is a head request, the log is not 
recorded


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