AlinsRan opened a new pull request, #14262: URL: https://github.com/apache/apisix/pull/14262
### Description The Admin API accepts credentials in query parameters. Its dedicated listener inherits the HTTP access log format, which includes the full request line by default. Give the admin listener a fixed format that records the client address, timestamp, method, path, protocol, status, response size, and duration. Omit query parameters. Both listeners use the configured log destination and buffer size and respect the global access logging switch. Deployments that parse a shared JSON access log should account for plain-text admin entries after upgrading. The Admin API documentation describes this change. ### Verification Both CLI suites passed locally with an isolated etcd instance: - `bash t/cli/test_admin.sh` - `bash t/cli/test_access_log.sh` The tests cover a rejected query credential, a non-default log buffer size, and HTTPS proxying with a custom data-plane access log format. ### Checklist - [x] I have explained the need for this PR and the problem it solves - [x] I have explained the changes or the new features added to this PR - [x] I have added tests corresponding to this change - [x] I have updated the documentation to reflect this change - [ ] I have verified that this change is backward compatible (the admin access log format changes as described above) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
