aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/ci/logging.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-04-24 21:08:37 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-04-24 21:11:59 +0200
commitf5d73689bdd4e9dbff98c04e190023b7f66ed7c9 (patch)
treec1ad358ea9429041c454f639d032024b50321e59 /xtesting/ci/logging.ini
parentb0fd44ea0320e95e2fcbfa0007f11fdf8e29dc76 (diff)
Enable debug messages via env var
It stops printing in xtesting.debug.log by default. It decreases testing duration via Raspberry PI without additional tasks [1]. [1] https://wiki.opnfv.org/display/functest/Run+Functest+containers+on+Raspberry+PI Change-Id: I2eded47a7a150a45330a69f3262fc7ca6fdb7463 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting/ci/logging.ini')
-rw-r--r--xtesting/ci/logging.ini16
1 files changed, 8 insertions, 8 deletions
diff --git a/xtesting/ci/logging.ini b/xtesting/ci/logging.ini
index 1c8d136a..a63e406a 100644
--- a/xtesting/ci/logging.ini
+++ b/xtesting/ci/logging.ini
@@ -2,14 +2,14 @@
keys=root,xtesting,ci,core,warnings
[handlers]
-keys=console,wconsole,file,dfile
+keys=console,wconsole,file,null
[formatters]
keys=standard
[logger_root]
level=NOTSET
-handlers=dfile
+handlers=null
[logger_xtesting]
level=NOTSET
@@ -31,6 +31,12 @@ level=NOTSET
handlers=file,console
qualname=py.warnings
+[handler_null]
+class=NullHandler
+level=NOTSET
+formatter=standard
+args=()
+
[handler_console]
class=StreamHandler
level=INFO
@@ -49,12 +55,6 @@ 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=