Files
config_manager/tests/config.yaml

53 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# === Раздел с общими конфигурационными параметрами ===
runtime: 5
# === HTTP-канал управления (ConfigManagerV2): /health, /actions/start, /actions/stop ===
# management:
# enabled: true
# host: "0.0.0.0"
# port: 8000
# timeout: 3
# health_timeout: 30
# === Логирование ===
log:
version: 1
disable_existing_loggers: False
formatters:
standard:
format: '%(asctime)s %(module)15s [%(levelname)8s]: %(message)s'
handlers:
console:
level: DEBUG
formatter: standard
class: logging.StreamHandler
stream: ext://sys.stdout # Default is stderr
file:
level: DEBUG
formatter: standard
class: logging.handlers.RotatingFileHandler
filename: logs/log.log
mode: a
maxBytes: 500000
backupCount: 3
# -- Логгеры --
root:
handlers: [console, file]
level: INFO
loggers:
__main__:
handlers: [console, file]
level: DEBUG
propagate: False
config_manager.src.config_manager.v2.manager:
handlers: [console, file]
level: DEBUG