Ben0625 opened a new issue #3116: URL: https://github.com/apache/apisix/issues/3116
### Issue description I want to get the self-defined parameter serve_name(which corresponds to Route one to one) printed in the 'access.log' by changing access_log_format ($http_serve_name). I want to set this parameter as an attribute in 'lables' of Route when setting a Route. The problem is, how can I get the corresponding Route object in the apisix original code after hitting a route and then set 'serve_name' of lables into the headers so that this attribute will be printed in the 'access.log'? ### Environment * apisix version: 2.0 * OS: x86_64 GNU/Linux * OpenResty / Nginx version: openresty/1.17.8.1 ---------------------------------------------------------------- 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: us...@infra.apache.org