{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/ory-keto-configuration/_shared/latest--config.schema.json",
  "title": "Log",
  "description": "Configure logging using the following options. Logs will always be sent to stdout and stderr.",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/ory/x/v0.0.543/logrusx/config.schema.json",
    "sourceSha256": "8adedd7723fcb434012c7d02c35e65e650858bd076f68cf3d2d520917067a8fb"
  },
  "type": "object",
  "properties": {
    "level": {
      "title": "Level",
      "description": "The level of log entries to show. Debug enables stack traces on errors.",
      "type": "string",
      "default": "info",
      "enum": [
        "panic",
        "fatal",
        "error",
        "warn",
        "info",
        "debug",
        "trace"
      ]
    },
    "format": {
      "title": "Log Format",
      "description": "The output format of log messages.",
      "type": "string",
      "default": "text",
      "enum": [
        "json",
        "json_pretty",
        "gelf",
        "text"
      ]
    },
    "leak_sensitive_values": {
      "type": "boolean",
      "title": "Leak Sensitive Log Values",
      "description": "If set will leak sensitive values (e.g. emails) in the logs.",
      "default": false
    },
    "redaction_text": {
      "type": "string",
      "title": "Sensitive log value redaction text",
      "description": "Text to use, when redacting sensitive log value."
    }
  },
  "additionalProperties": false
}
