|
|
@ -471,6 +471,8 @@ applicationDefaultJvmArgs = [ |
|
|
|
// We shutdown log4j ourselves, as otherwise this shutdown hook runs before our own and whatever |
|
|
|
// We shutdown log4j ourselves, as otherwise this shutdown hook runs before our own and whatever |
|
|
|
// happens during shutdown is not logged. |
|
|
|
// happens during shutdown is not logged. |
|
|
|
'-Dlog4j.shutdownHookEnabled=false', |
|
|
|
'-Dlog4j.shutdownHookEnabled=false', |
|
|
|
|
|
|
|
// Disable JNI lookups in log4j messages to improve security |
|
|
|
|
|
|
|
'-Dlog4j2.formatMsgNoLookups=true', |
|
|
|
// Redirect java.util.logging loggers to use log4j2. |
|
|
|
// Redirect java.util.logging loggers to use log4j2. |
|
|
|
'-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager', |
|
|
|
'-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager', |
|
|
|
// Suppress Java JPMS warnings. Document the reason for each suppression. |
|
|
|
// Suppress Java JPMS warnings. Document the reason for each suppression. |
|
|
|