Skip to content

Commit

Permalink
fix: update log schema
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Feb 22, 2021
1 parent 9689f45 commit 78e654d
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .schema/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1851,28 +1851,28 @@
"type": "object",
"properties": {
"level": {
"description": "Debug enables stack traces on errors. Can also be set using environment variable LOG_LEVEL.",
"type": "string",
"default": "info",
"enum": [
"panic",
"fatal",
"error",
"warn",
"trace",
"debug",
"info",
"debug"
],
"title": "Level",
"description": "Debug enables stack traces on errors. Can also be set using environment variable LOG_LEVEL."
"warning",
"error",
"fatal",
"panic"
]
},
"leak_sensitive_values": {
"type": "boolean",
"title": "Leak Sensitive Log Values",
"description": "If set will leak sensitive values (e.g. emails) in the logs."
},
"format": {
"description": "The log format can either be text or JSON.",
"type": "string",
"default": "text",
"enum": [
"text",
"json"
],
"title": "Format",
"description": "The log format can either be text or JSON."
"enum": ["json", "text"]
}
},
"additionalProperties": false
Expand Down

0 comments on commit 78e654d

Please sign in to comment.