diff --git a/install/helm/open-match/templates/om-configmap-default.yaml b/install/helm/open-match/templates/om-configmap-default.yaml index 05c00f397..95ab50686 100644 --- a/install/helm/open-match/templates/om-configmap-default.yaml +++ b/install/helm/open-match/templates/om-configmap-default.yaml @@ -26,15 +26,11 @@ metadata: data: matchmaker_config_default.yaml: |- logging: - {{- if .Values.global.logging.level }} - level: {{ .Values.global.logging.level }} - {{- else }} - level: debug - {{- end }} + level: {{ default "debug" .Values.global.logging.level }} {{- if .Values.global.telemetry.stackdriverMetrics.enabled }} format: stackdriver {{- else }} - format: text + format: {{ default "text" .Values.global.logging.format }} {{- end }} rpc: {{ .Values.global.logging.rpc.enabled }} # Open Match applies the exponential backoff strategy for its retryable gRPC calls. diff --git a/install/helm/open-match/values-production.yaml b/install/helm/open-match/values-production.yaml index 9a2761e0a..61540d21b 100644 --- a/install/helm/open-match/values-production.yaml +++ b/install/helm/open-match/values-production.yaml @@ -290,6 +290,7 @@ global: mountPath: /app/secrets/tls/rootca logging: + level: info rpc: enabled: false diff --git a/install/helm/open-match/values.yaml b/install/helm/open-match/values.yaml index 2ae72438e..61451ce80 100644 --- a/install/helm/open-match/values.yaml +++ b/install/helm/open-match/values.yaml @@ -288,6 +288,8 @@ global: mountPath: /app/secrets/tls/rootca logging: + level: info + format: text rpc: enabled: false