You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/misc-options.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,12 +77,16 @@ The openj9 image tags include specific variables to simplify configuration:
77
77
-`-e TUNE_NURSERY_SIZES=TRUE` : configures nursery sizes where the initial size is 50%
78
78
of the `MAX_MEMORY` and the max size is 80%.
79
79
80
-
## Customizing log4j2 configuration
80
+
## Customize Minecraft server logging
81
81
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.
83
83
84
84
Set the environment variable `GENERATE_LOG4J2_CONFIG` to "true" to enable the following features.
85
85
86
+
!!! note
87
+
88
+
This configures the server logging only. To diagnose container startup, set the `DEBUG` environment variable to "true".
89
+
86
90
### Customization via environment variables
87
91
88
92
You can customize various aspects of the logging behavior using environment variables:
0 commit comments