aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-15 11:30:40 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-15 11:30:40 +0200
commitc0168e2f1a1a43f33f552923f3a5511a019129df (patch)
tree8a465856fbaf0ff18e1de01a77caf7c3625417b0
parent000f21ee1c0dcba6a438e39166bad8b3270e3c5e (diff)
Stop printing exceptions twice0.53
Change-Id: Ife772d33741e7023ed72afeb0f74ed8b461e0033 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--xtesting/ci/logging.ini17
1 files changed, 14 insertions, 3 deletions
diff --git a/xtesting/ci/logging.ini b/xtesting/ci/logging.ini
index 5cb5e4bf..1c8d136a 100644
--- a/xtesting/ci/logging.ini
+++ b/xtesting/ci/logging.ini
@@ -1,15 +1,15 @@
[loggers]
-keys=root,xtesting,ci,core
+keys=root,xtesting,ci,core,warnings
[handlers]
-keys=console,wconsole,file
+keys=console,wconsole,file,dfile
[formatters]
keys=standard
[logger_root]
level=NOTSET
-handlers=wconsole,file
+handlers=dfile
[logger_xtesting]
level=NOTSET
@@ -26,6 +26,11 @@ level=NOTSET
handlers=console
qualname=xtesting.core
+[logger_warnings]
+level=NOTSET
+handlers=file,console
+qualname=py.warnings
+
[handler_console]
class=StreamHandler
level=INFO
@@ -44,6 +49,12 @@ level=DEBUG
formatter=standard
args=("/var/lib/xtesting/results/xtesting.log",)
+[handler_dfile]
+class=FileHandler
+level=DEBUG
+formatter=standard
+args=("/var/lib/xtesting/results/xtesting.debug.log",)
+
[formatter_standard]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=