Skip to content

Commit

Permalink
Merge pull request goharbor#704 from ywk253100/200825_log_level
Browse files Browse the repository at this point in the history
Convert the log level for registry
  • Loading branch information
ywk253100 authored Aug 26, 2020
2 parents 71d3b42 + bb6535d commit d80ac22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/registry/registry-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ data:
config.yml: |+
version: 0.1
log:
{{- if eq .Values.logLevel "warning" }}
level: warn
{{- else if eq .Values.logLevel "fatal" }}
level: error
{{- else }}
level: {{ .Values.logLevel }}
{{- end }}
fields:
service: registry
storage:
Expand Down

0 comments on commit d80ac22

Please sign in to comment.