Skip to content

Commit

Permalink
feat(meta): support config log prefix_filter (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Jun 6, 2024
1 parent 835c02f commit d26f2ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/databend-meta/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.8.0
version: 0.8.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/databend-meta/templates/_config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ grpc_api_address = "0.0.0.0:{{ .Values.service.ports.grpc }}"
[log.stderr]
on = true
level = {{ .Values.config.stdLogLevel | quote }}
prefix_filter = {{ .Values.config.logPrefixFilter | quote }}
[log.file]
level = {{ .Values.config.logLevel | quote }}
format = "json"
dir = {{ .Values.config.logDir | quote }}
prefix_filter = {{ .Values.config.logPrefixFilter | quote }}

[raft_config]
cluster_name = {{ .Values.config.clusterName | quote }}
Expand Down
1 change: 1 addition & 0 deletions charts/databend-meta/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ config:
clusterName: databend
logDir: /data/databend-meta/log
logLevel: INFO
logPrefixFilter: ""
stdLogLevel: WARN
raft:
dir: /data/databend-meta/raft
Expand Down

0 comments on commit d26f2ac

Please sign in to comment.