1
0
mirror of synced 2025-12-25 02:09:19 -05:00

add entry into JAVA_OPTS to always select log4j2.xml as our logger configuration (#35569)

This commit is contained in:
Stephane Geneix
2024-02-22 19:37:32 -08:00
committed by GitHub
parent a36ea60831
commit 9144011b54

View File

@@ -16,7 +16,7 @@ if [[ $IS_CAPTURE_HEAP_DUMP_ON_ERROR = true ]]; then
fi
fi
#30781 - Allocate 32KB for log4j appender buffer to ensure that each line is logged in a single println
JAVA_OPTS=$JAVA_OPTS" -Dlog4j.encoder.byteBufferSize=32768"
JAVA_OPTS=$JAVA_OPTS" -Dlog4j.encoder.byteBufferSize=32768 -Dlog4j2.configurationFile=log4j2.xml"
export JAVA_OPTS
# Wrap run script in a script so that we can lazy evaluate the value of APPLICATION. APPLICATION is