summaryrefslogtreecommitdiff
path: root/configs/kvmd/logging.yaml
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/kvmd/logging.yaml
parente97975fc15d3688a121cfdf18126a16c957838bd (diff)
common logging.yaml
Diffstat (limited to 'configs/kvmd/logging.yaml')
-rw-r--r--configs/kvmd/logging.yaml20
1 files changed, 20 insertions, 0 deletions
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