Baoyuantop commented on issue #13452:
URL: https://github.com/apache/apisix/issues/13452#issuecomment-4571693280

   Thanks for raising this. I checked the current implementation: when 
loki-logger runs without a custom log_format, it uses the shared default logger 
entry, which includes ngx.req.get_headers(), so sensitive request headers can 
indeed be included in the default log payload.
   
   For the current scenario, it is recommended to configure log_format to 
explicitly configure the content collected in the logs. Could you share why you 
did not use log_format?
   


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