Skip to content

Commit 4b24251

Browse files
authored
Clarify scope of LOG_LEVEL (#3878)
1 parent 7678f52 commit 4b24251

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/configuration/misc-options.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,16 @@ The openj9 image tags include specific variables to simplify configuration:
7777
- `-e TUNE_NURSERY_SIZES=TRUE` : configures nursery sizes where the initial size is 50%
7878
of the `MAX_MEMORY` and the max size is 80%.
7979

80-
## Customizing log4j2 configuration
80+
## Customize Minecraft server logging
8181

82-
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.
82+
The image can use 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.
8383

8484
Set the environment variable `GENERATE_LOG4J2_CONFIG` to "true" to enable the following features.
8585

86+
!!! note
87+
88+
This configures the server logging only. To diagnose container startup, set the `DEBUG` environment variable to "true".
89+
8690
### Customization via environment variables
8791

8892
You can customize various aspects of the logging behavior using environment variables:

0 commit comments

Comments
 (0)