Stefan Franz
Jan 31, 2023
Feb 01, 2023
...
Use e.g this log4j2.xml without file appender
Map it to the container with -v <Folder>/log4j2.xml:/application/config/log4j2.xml
-v <Folder>/log4j2.xml:/application/config/log4j2.xml
And set environment variable for the container LOGGING_CONFIG=/application/config/log4j2.xml
LOGGING_CONFIG=/application/config/log4j2.xml