Revolyssup commented on code in PR #12364:
URL: https://github.com/apache/apisix/pull/12364#discussion_r2167030968


##########
apisix/plugins/elasticsearch-logger.lua:
##########
@@ -195,6 +264,11 @@ function _M.body_filter(conf, ctx)
     log_util.collect_body(conf, ctx)
 end
 
+function _M.access(conf)

Review Comment:
   set_version calls ES server the first time and this http connection is not 
allowed in log phase so I had no other way but to add this here because version 
information is needed at the start of log phase when entries are being created.



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