Skip to content

Commit 11c8a44

Browse files
authored
Enable async logging by default (#3606)
Signed-off-by: Nicu Reut <nicu.reut@digitalasset.com>
1 parent f0d4cd5 commit 11c8a44

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

cluster/images/common/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [[ ! " ${*} " =~ " --console " ]]; then
1616
ARGS+=( daemon --no-tty )
1717
fi
1818

19-
ARGS+=( --log-encoder=json --log-level-stdout="${LOG_LEVEL_STDOUT:-DEBUG}" --log-level-canton="${LOG_LEVEL_CANTON:-DEBUG}" --log-file-appender=off --log-immediate-flush="${LOG_IMMEDIATE_FLUSH:-true}" --log-last-errors=false)
19+
ARGS+=( --log-encoder=json --log-level-stdout="${LOG_LEVEL_STDOUT:-DEBUG}" --log-level-canton="${LOG_LEVEL_CANTON:-DEBUG}" --log-file-appender=off --log-immediate-flush="${LOG_IMMEDIATE_FLUSH:-false}" --log-last-errors=false)
2020

2121
if [ -f /app/logback.xml ]; then
2222
export JAVA_TOOL_OPTIONS="-Dlogback.configurationFile=/app/logback.xml ${JAVA_TOOL_OPTIONS:-}"

docs/src/release_notes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@
9797
- Add a new config field to ``SvOnboardingConfig`` named ``unclaimedDevelopmentFundCouponsThreshold`` defining the
9898
threshold above which ``UnclaimedDevelopmentFundCoupon`` s are merged. The default value is set to 10.
9999

100+
- Deployments
101+
102+
- The default logger has been switched to use an asynchronous appender, for all the nodes, for better performance.
103+
The behavior can be switched back to synchronous logging by setting the environment variable `LOG_IMMEDIATE_FLUSH=true`.
104+
100105
.. release-notes:: 0.5.6
101106

102107
- Sequencer

0 commit comments

Comments
 (0)