aboutsummaryrefslogtreecommitdiff
path: root/schemas_json/logging.yaml
diff options
context:
space:
mode:
authorbozokopic <bozo.kopic@gmail.com>2017-04-24 16:33:44 +0200
committerbozokopic <bozo.kopic@gmail.com>2017-04-24 16:33:44 +0200
commit333dfc65d327cd688aa74fd930d13e3e7a5014c0 (patch)
tree09c83e5627fb3578fd6565eca96bb18db081bdd3 /schemas_json/logging.yaml
parent9ad2fdab26fda8a8308f788297f08f449622d8db (diff)
doit script
Diffstat (limited to 'schemas_json/logging.yaml')
-rw-r--r--schemas_json/logging.yaml123
1 files changed, 123 insertions, 0 deletions
diff --git a/schemas_json/logging.yaml b/schemas_json/logging.yaml
new file mode 100644
index 0000000..0d2f21d
--- /dev/null
+++ b/schemas_json/logging.yaml
@@ -0,0 +1,123 @@
+---
+"$schema": "http://json-schema.org/schema#"
+id: "opcut://logging.yaml#"
+title: Logging
+description: Logging configuration
+type: object
+required:
+ - version
+properties:
+ version:
+ title: Version
+ type: integer
+ default: 1
+ formatters:
+ title: Formatters
+ type: object
+ patternProperties:
+ "(.)+":
+ title: Formatter
+ type: object
+ properties:
+ format:
+ title: Format
+ type: string
+ default: null
+ datefmt:
+ title: Date format
+ type: string
+ default: null
+ filters:
+ title: Filters
+ type: object
+ patternProperties:
+ "(.)+":
+ title: Filter
+ type: object
+ properties:
+ name:
+ title: Logger name
+ type: string
+ default: ''
+ handlers:
+ title: Handlers
+ type: object
+ patternProperties:
+ "(.)+":
+ title: Handler
+ type: object
+ description: |
+ Additional properties are passed as keyword arguments to
+ constructor
+ required:
+ - class
+ properties:
+ class:
+ title: Class
+ type: string
+ level:
+ title: Level
+ type: string
+ formatter:
+ title: Formatter
+ type: string
+ filters:
+ title: Filters
+ type: array
+ items:
+ title: Filter id
+ type: string
+ loggers:
+ title: Loggers
+ type: object
+ patternProperties:
+ "(.)+":
+ title: Logger
+ type: object
+ properties:
+ level:
+ title: Level
+ type: string
+ propagate:
+ title: Propagate
+ type: boolean
+ filters:
+ title: Filters
+ type: array
+ items:
+ title: Filter id
+ type: string
+ handlers:
+ title: Handlers
+ type: array
+ items:
+ title: Handler id
+ type: string
+ root:
+ title: Root logger
+ type: object
+ properties:
+ level:
+ title: Level
+ type: string
+ filters:
+ title: Filters
+ type: array
+ items:
+ title: Filter id
+ type: string
+ handlers:
+ title: Handlers
+ type: array
+ items:
+ title: Handler id
+ type: string
+ incremental:
+ title: Incremental configuration
+ type: boolean
+ default: false
+ disable_existing_loggers:
+ title: Disable existing loggers
+ type: boolean
+ default: true
+...