Opt into generated log4j2.xml configuration (#3856)

This commit is contained in:
Geoff Bourne
2026-01-08 07:25:01 -06:00
committed by GitHub
parent 9c01462c0c
commit f8ff8a7b8a
4 changed files with 10 additions and 4 deletions

View File

@@ -81,6 +81,8 @@ The openj9 image tags include specific variables to simplify configuration:
The image now uses a templated log4j2 configuration based on PaperMC's logging setup, which is automatically applied for versions that don't require Log4j security patches. This configuration provides rolling logs and advanced logging features by default.
Set the environment variable `GENERATE_LOG4J2_CONFIG` to "true" to enable the following features.
### Customization via environment variables
You can customize various aspects of the logging behavior using environment variables: