github.com/gedevops/x@v1.0.3/logrusx/config.schema.json (about) 1 { 2 "$id": "ory://logging-config", 3 "$schema": "http://json-schema.org/draft-07/schema#", 4 "title": "Log", 5 "description": "Configure logging using the following options. Logs will always be sent to stdout and stderr.", 6 "type": "object", 7 "properties": { 8 "level": { 9 "title": "Level", 10 "description": "The level of log entries to show. Debug enables stack traces on errors.", 11 "type": "string", 12 "default": "info", 13 "enum": [ 14 "panic", 15 "fatal", 16 "error", 17 "warn", 18 "info", 19 "debug", 20 "trace" 21 ] 22 }, 23 "format": { 24 "title": "Log Format", 25 "description": "The output format of log messages.", 26 "type": "string", 27 "default": "text", 28 "enum": [ 29 "json", 30 "json_pretty", 31 "gelf", 32 "text" 33 ] 34 }, 35 "leak_sensitive_values": { 36 "type": "boolean", 37 "title": "Leak Sensitive Log Values", 38 "description": "If set will leak sensitive values (e.g. emails) in the logs.", 39 "default": false 40 }, 41 "redaction_text": { 42 "type": "string", 43 "title": "Sensitive log value redaction text", 44 "description": "Text to use, when redacting sensitive log value." 45 } 46 }, 47 "additionalProperties": false 48 }