SkyeYoung commented on issue #12537:
URL: https://github.com/apache/apisix/issues/12537#issuecomment-3219155192

   @Plus-L I spent some more time and found out that the problem exists. Thank 
you for adding some information, which helped me find the problem.
   
   ```yaml
   routes:
     - uri: /post
       upstream:
         nodes:
             "httpbin.t.mifanlab.win:80": 1
         type: roundrobin
         pass_host: rewrite
         upstream_host: httpbin.t.mifanlab.win
       plugins:
         http-logger:
           timeout: 3
           inactive_timeout: 5
           retry_delay: 1
           concat_method: json
           uri: https://webhook.site/43aafd65-0ca3-40f8-a0c8-fae4223b9010
           ssl_verify: false
           include_req_body: false
           max_retry_count: 0
           batch_max_size: 1000
           buffer_duration: 60
           include_resp_body: false
           name: "aiap-ai-http-logger"
         file-logger:
           include_req_body: true
           include_resp_body: true
           path: /usr/local/apisix/logs/file.log
   #END
   ```
   
   
   If both `http-logger` and `file-logger` are configured, and if 
`include_*_body` is set to true in one, it will cause the `false` setting in 
the other to be ineffective.


-- 
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-unsubscr...@apisix.apache.org

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

Reply via email to