F64116045 opened a new pull request, #533: URL: https://github.com/apache/ozone-site/pull/533
## What changes were proposed in this pull request? [HDDS-8096](https://issues.apache.org/jira/browse/HDDS-8096) ([apache/ozone#11005](https://github.com/apache/ozone/pull/11005)) redirects Jersey logs from JUL to SLF4J so they are written to the S3 Gateway log file. JUL checks the log level before a record reaches `SLF4JBridgeHandler`. Therefore, setting only `log4j.logger.org.glassfish.jersey=DEBUG` does not enable Jersey debug logs. This change documents how to set the Jersey JUL logger to `FINE`, enable its `DEBUG` level in log4j, and load the JUL configuration when starting S3 Gateway. ## What is the link to the Apache Jira? https://issues.apache.org/jira/browse/HDDS-16232 ## How was this patch tested? - `pnpm exec markdownlint docs/05-administrator-guide/02-configuration/02-logging/01-application-logs.md` - `pnpm build` - Verified in a separate JVM that a Jersey JUL `FINE` record reaches reload4j only when JUL is set to `FINE` and log4j is set to `DEBUG`. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
