diff options
author | Devaev Maxim <[email protected]> | 2018-11-14 20:34:46 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-11-14 20:34:46 +0300 |
commit | b690dbce4447665db5b4ce0b11f14dc796ca917b (patch) | |
tree | 62d4961002e09fa79886cdd076283c1c45f8bdd0 /configs/kvmd | |
parent | e97975fc15d3688a121cfdf18126a16c957838bd (diff) |
common logging.yaml
Diffstat (limited to 'configs/kvmd')
-rw-r--r-- | configs/kvmd/kvmd.v1-hdmi.yaml (renamed from configs/kvmd/v1-hdmi.yaml) | 24 | ||||
-rw-r--r-- | configs/kvmd/kvmd.v1-vga.yaml (renamed from configs/kvmd/v1-vga.yaml) | 24 | ||||
-rw-r--r-- | configs/kvmd/logging.yaml | 20 |
3 files changed, 22 insertions, 46 deletions
diff --git a/configs/kvmd/v1-hdmi.yaml b/configs/kvmd/kvmd.v1-hdmi.yaml index 0e199ac6..1ac41a12 100644 --- a/configs/kvmd/v1-hdmi.yaml +++ b/configs/kvmd/kvmd.v1-hdmi.yaml @@ -73,26 +73,4 @@ kvmd: state_poll: 1.0 -logging: - version: 1 - disable_existing_loggers: false - - formatters: - console: - (): logging.Formatter - style: "{" - format: "{name:30.30} {levelname:>7} --- {message}" - - handlers: - console: - level: DEBUG - class: logging.StreamHandler - stream: ext://sys.stdout - formatter: console - - root: - level: INFO - handlers: - - console - -# vim: syntax=yaml filetype=yaml +logging: !include logging.yaml diff --git a/configs/kvmd/v1-vga.yaml b/configs/kvmd/kvmd.v1-vga.yaml index c4cd2778..3065c262 100644 --- a/configs/kvmd/v1-vga.yaml +++ b/configs/kvmd/kvmd.v1-vga.yaml @@ -74,26 +74,4 @@ kvmd: state_poll: 1.0 -logging: - version: 1 - disable_existing_loggers: false - - formatters: - console: - (): logging.Formatter - style: "{" - format: "{name:30.30} {levelname:>7} --- {message}" - - handlers: - console: - level: DEBUG - class: logging.StreamHandler - stream: ext://sys.stdout - formatter: console - - root: - level: INFO - handlers: - - console - -# vim: syntax=yaml filetype=yaml +logging: !include logging.yaml diff --git a/configs/kvmd/logging.yaml b/configs/kvmd/logging.yaml new file mode 100644 index 00000000..e572ad32 --- /dev/null +++ b/configs/kvmd/logging.yaml @@ -0,0 +1,20 @@ +version: 1 +disable_existing_loggers: false + +formatters: + console: + (): logging.Formatter + style: "{" + format: "{name:30.30} {levelname:>7} --- {message}" + +handlers: + console: + level: DEBUG + class: logging.StreamHandler + stream: ext://sys.stdout + formatter: console + +root: + level: INFO + handlers: + - console |