Skip to content

Commit fa1e2c4

Browse files
authored
actually enable async logging by default (#3668)
Signed-off-by: Nicu Reut <nicu.reut@digitalasset.com>
1 parent cf9090c commit fa1e2c4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

cluster/helm/splice-util-lib/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ spec:
204204
- name: LOG_LEVEL_STDOUT
205205
value: {{ .logLevelStdout | default "DEBUG" }}
206206
- name: LOG_IMMEDIATE_FLUSH
207-
value: {{ .logAsyncFlush | default false | not | quote }}
207+
value: {{ .logAsyncFlush | default true | not | quote }}
208208
{{- end }}
209209
{{- define "splice-util-lib.service-account" -}}
210210
{{- if .serviceAccountName -}}

docs/src/release_notes.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
- deprecated ``/v0/total-amulet-balance`` and ``/v0/wallet-balance`` endpoints have been removed in favor of using `/registry/metadata/v1/instruments/{instrumentId} <app_dev/token_standard/openapi/token_metadata.html#get--registry-metadata-v1-instruments-instrumentId>`_
1313
and `/v0/holdings/summary <app_dev/scan_api/scan_openapi.html#post--v0-holdings-summary>`_, respectively.
1414

15+
- Deployments
16+
17+
- The default logger has been switched to use an asynchronous appender, for all the nodes, for better performance.
18+
The behavior can be switched back to synchronous logging by setting the environment variable `LOG_IMMEDIATE_FLUSH=true`.
19+
This now includes helm deployments as well, in 0.5.7 the default was changed only for docker-compose deployments.
20+
1521
.. release-notes:: 0.5.7
1622

1723
.. important::

0 commit comments

Comments
 (0)