aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/logging.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-04-25 14:32:12 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-04-25 14:33:46 +0200
commitd777f2e588a321d5c01e2e50ffa5c8fc5a27c77c (patch)
tree7c5a072facea776ae0bfd8beaabb942a8e63a3d4 /functest/ci/logging.ini
parent9dcc30874194382a25c66baf359b863c6e013caf (diff)
Leverage on DEBUG env var
It allows muting debug logs. Change-Id: I291f3bb7e0a450724a34997c720bde01f72c8e50 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/ci/logging.ini')
-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 51ee359c6..278529e22 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,baro,warnings
[handlers]
-keys=console,wconsole,file,dfile
+keys=console,wconsole,file,null
[formatters]
keys=standard
[logger_root]
level=NOTSET
-handlers=dfile
+handlers=null
[logger_functest]
level=NOTSET
@@ -86,6 +86,12 @@ level=NOTSET
handlers=file,console
qualname=py.warnings
+[handler_null]
+class=NullHandler
+level=NOTSET
+formatter=standard
+args=()
+
[handler_console]
class=StreamHandler
level=INFO
@@ -104,12 +110,6 @@ 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=