summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-11 12:10:10 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-11 13:44:27 +0200
commitb1f50e31dccb8fa3badd61c57ec76b8b4abb4510 (patch)
tree1795db4c5bf190bb747f5540f318ddaac94b66c3
parent4f89564b20e9c3462614706a616d469540631786 (diff)
Print all debug messages in a second file
All modules are allowed to print in functest.debug.log. Change-Id: I9c0be258dba985c9d3171bc2d324464e41e1c584 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/ci/logging.ini16
1 files changed, 8 insertions, 8 deletions
diff --git a/functest/ci/logging.ini b/functest/ci/logging.ini
index 98d2e7317..f14014354 100644
--- a/functest/ci/logging.ini
+++ b/functest/ci/logging.ini
@@ -2,14 +2,14 @@
keys=root,functest,api,ci,core,cli,opnfv_tests,utils,xtesting,xci,xcore,energy,xutils,sfc,sdnvpn,baro,warnings
[handlers]
-keys=console,wconsole,file,null
+keys=console,wconsole,file,dfile
[formatters]
keys=standard
[logger_root]
level=NOTSET
-handlers=null
+handlers=dfile
[logger_functest]
level=NOTSET
@@ -91,12 +91,6 @@ level=NOTSET
handlers=file,console
qualname=py.warnings
-[handler_null]
-class=NullHandler
-level=NOTSET
-formatter=standard
-args=()
-
[handler_console]
class=StreamHandler
level=INFO
@@ -115,6 +109,12 @@ level=DEBUG
formatter=standard
args=("/home/opnfv/functest/results/functest.log",)
+[handler_dfile]
+class=FileHandler
+level=DEBUG
+formatter=standard
+args=("/home/opnfv/functest/results/functest.debug.log",)
+
[formatter_standard]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=