Skip to content

Commit

Permalink
chore: set default log level to info
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmehrotra authored and moshloop committed May 20, 2024
1 parent 33c4d0f commit 613df5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ spec:
- /app/config-db
args:
- operator
- -v
{{- if .Values.logLevel }}
- {{ .Values.logLevel }}
{{- end }}
- --disable-postgrest={{ .Values.disablePostgrest }}
- --change-retention-days={{ .Values.configChangeRetentionDays }}
- --analysis-retention-days={{ .Values.configAnalysisRetentionDays }}
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ image:
configChangeRetentionDays: 60
configAnalysisRetentionDays: 60

# -v, -vv, -vvv
logLevel: ""
jsonLogs: true

# a list of configmaps to load scrape rules from, the configmap should have a single entry called "config.yaml"
Expand Down

0 comments on commit 613df5a

Please sign in to comment.