summaryrefslogtreecommitdiffstats
path: root/docker/logging.ini
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2018-02-01 12:44:24 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-01 12:44:24 +0000
commitefbb00e84c85c24cbc920604a1967e9c2cbf2888 (patch)
tree9d88621912008f79b705d0bd1e14a0d5b087c553 /docker/logging.ini
parent1c7b2e056daf560cea7941b0a7bf0e1fbdb5e845 (diff)
parentfb001d25a954c790da648bb1c27d0d9da826cb0d (diff)
Merge "Add logging.ini for functest_kubernetes"
Diffstat (limited to 'docker/logging.ini')
-rw-r--r--docker/logging.ini50
1 files changed, 50 insertions, 0 deletions
diff --git a/docker/logging.ini b/docker/logging.ini
new file mode 100644
index 00000000..594de7af
--- /dev/null
+++ b/docker/logging.ini
@@ -0,0 +1,50 @@
+[loggers]
+keys=root,functest,functest_kubernetes
+
+[handlers]
+keys=console,wconsole,file,null
+
+[formatters]
+keys=standard
+
+[logger_root]
+level=NOTSET
+handlers=null
+
+[logger_functest_kubernetes]
+level=NOTSET
+handlers=console
+qualname=functest_kubernetes
+
+[logger_functest]
+level=NOTSET
+handlers=console
+qualname=functest
+
+[handler_null]
+class=NullHandler
+level=NOTSET
+formatter=standard
+args=()
+
+[handler_console]
+class=StreamHandler
+level=INFO
+formatter=standard
+args=(sys.stdout,)
+
+[handler_wconsole]
+class=StreamHandler
+level=WARN
+formatter=standard
+args=(sys.stdout,)
+
+[handler_file]
+class=FileHandler
+level=DEBUG
+formatter=standard
+args=("/home/opnfv/functest/results/functest-kubernetes.log",)
+
+[formatter_standard]
+format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
+datefmt=