summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-14 20:34:46 +0300
committerDevaev Maxim <[email protected]>2018-11-14 20:34:46 +0300
commitb690dbce4447665db5b4ce0b11f14dc796ca917b (patch)
tree62d4961002e09fa79886cdd076283c1c45f8bdd0 /configs
parente97975fc15d3688a121cfdf18126a16c957838bd (diff)
common logging.yaml
Diffstat (limited to 'configs')
-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.yaml20
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