Firstsawyou commented on a change in pull request #4131:
URL: https://github.com/apache/apisix/pull/4131#discussion_r620021235
##########
File path: apisix/utils/log-util.lua
##########
@@ -52,6 +52,10 @@ local function get_full_log(ngx, conf)
headers = ngx.resp.get_headers(),
size = var.bytes_sent
},
+ server = {
+ hostname = core.utils.gethostname(),
+ version = core.version.VERSION
Review comment:
I think it would be better to use `apisix_version` so that it is easier
to understand its meaning.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]