HaoTien commented on issue #10734:
URL: https://github.com/apache/apisix/issues/10734#issuecomment-1905427402

   > > I can find func‘s implementation, but don't know where to invok it
   > 
   > This `http_log` function is exported as a `log` function by 
`prometheus.lua`
   > 
   > 
https://github.com/apache/apisix/blob/3a48d17889cf1283e63a6e2b44ed33ab07dc4588/apisix/plugins/prometheus.lua#L37
   > 
   > Which is then executed by APISIX in the `log` phase of `openresty`.
   > 
   > 
https://github.com/apache/apisix/blob/3a48d17889cf1283e63a6e2b44ed33ab07dc4588/apisix/init.lua#L863
   > 
   > 
   > 
https://github.com/apache/apisix/blob/3a48d17889cf1283e63a6e2b44ed33ab07dc4588/apisix/cli/ngx_tpl.lua#L789C1-L792C14
   
   thx! the func of http_log_phase() is exactly what I'm looking for.
   


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