Skip to content

Commit

Permalink
add entry into JAVA_OPTS to always select log4j2.xml as our logger co…
Browse files Browse the repository at this point in the history
…nfiguration (airbytehq#35569)
  • Loading branch information
stephane-airbyte authored and jatinyadav-cc committed Feb 26, 2024
1 parent 87fccd7 commit 3a3f6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte-integrations/bases/base-java/javabase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a3f6d8

Please sign in to comment.