diff --git a/install/helm/open-match/templates/om-configmap-default.yaml b/install/helm/open-match/templates/om-configmap-default.yaml index 88a4dbdf8..24c89020d 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 a0ccbee9a..5efc1cfb8 100644 --- a/install/helm/open-match/values-production.yaml +++ b/install/helm/open-match/values-production.yaml @@ -269,6 +269,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 342b8c055..324860867 100644 --- a/install/helm/open-match/values.yaml +++ b/install/helm/open-match/values.yaml @@ -272,6 +272,8 @@ global: mountPath: /app/secrets/tls/rootca logging: + level: info + format: text rpc: enabled: false