Skip to content

Commit 9144011

Browse files
add entry into JAVA_OPTS to always select log4j2.xml as our logger configuration (#35569)
1 parent a36ea60 commit 9144011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte-integrations/bases/base-java/javabase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [[ $IS_CAPTURE_HEAP_DUMP_ON_ERROR = true ]]; then
1616
fi
1717
fi
1818
#30781 - Allocate 32KB for log4j appender buffer to ensure that each line is logged in a single println
19-
JAVA_OPTS=$JAVA_OPTS" -Dlog4j.encoder.byteBufferSize=32768"
19+
JAVA_OPTS=$JAVA_OPTS" -Dlog4j.encoder.byteBufferSize=32768 -Dlog4j2.configurationFile=log4j2.xml"
2020
export JAVA_OPTS
2121

2222
# Wrap run script in a script so that we can lazy evaluate the value of APPLICATION. APPLICATION is

0 commit comments

Comments
 (0)