apisix
apisix copied to clipboard
feat: As a user, I want to provide configuration or plugins to support different routes to print logs in other formats in non-access.log
Description
In my project, different log files and log formats are specified in different servers。
server { #core listen 80; listen 443 ssl http2; server_name www.test.com;
#log
access_log logs/test.access.log test;
error_log logs/test.error.log info;
#core-location
location / {
proxy_pass http://test;
}
}
Is there any plan to support this situation? The output file and output format can be specified in the routing configuration to support the migration of old projects
In fact, you can deploy multiple sets of APISIX to achieve this, setting different log formats and output locations.
IMO, it doesn't make sense to control the log format and output location at the routing level.
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.