You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/03/11 03:47:38 UTC

[GitHub] [apisix] yangxikun opened a new issue #3804: request help: How to log upstream.name in access log?

yangxikun opened a new issue #3804:
URL: https://github.com/apache/apisix/issues/3804


   ### Issue description
   
   How to log https://github.com/apache/apisix/blob/master/docs/zh/latest/admin-api.md#upstream name in access log?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix] yangxikun closed issue #3804: request help: How to log upstream.name in access log?

Posted by GitBox <gi...@apache.org>.
yangxikun closed issue #3804:
URL: https://github.com/apache/apisix/issues/3804


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #3804: request help: How to log upstream.name in access log?

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3804:
URL: https://github.com/apache/apisix/issues/3804#issuecomment-796425693


   You can add an Nginx variable and write a plugin to assign the value to it in the log phase.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [apisix] yangxikun commented on issue #3804: request help: How to log upstream.name in access log?

Posted by GitBox <gi...@apache.org>.
yangxikun commented on issue #3804:
URL: https://github.com/apache/apisix/issues/3804#issuecomment-797206001


   ok, thanks.


----------------------------------------------------------------
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:
users@infra.apache.org