mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-23 12:53:54 +00:00
feat: update config_schema for logging
This commit is contained in:
@@ -425,6 +425,10 @@ CONF_SCHEMA = {
|
||||
"description": "Edge configuration.",
|
||||
"$ref": "#/definitions/edge",
|
||||
},
|
||||
"log_config": {
|
||||
"description": "Logging configuration.",
|
||||
"$ref": "#/definitions/logging",
|
||||
},
|
||||
"freqai": {
|
||||
"description": "FreqAI configuration.",
|
||||
"$ref": "#/definitions/freqai",
|
||||
@@ -877,6 +881,16 @@ CONF_SCHEMA = {
|
||||
},
|
||||
"required": ["process_throttle_secs", "allowed_risk"],
|
||||
},
|
||||
"logging": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"version": {"type": "number", "const": 1},
|
||||
"formatters": {"type": "object"},
|
||||
"handlers": {"type": "object"},
|
||||
"root": {"type": "object"},
|
||||
},
|
||||
"required": ["version", "formatters", "handlers", "root"],
|
||||
},
|
||||
"external_message_consumer": {
|
||||
"description": "Configuration for external message consumer.",
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user