aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPanagiotis Karalis <pkaralis@intracom-telecom.com>2018-05-25 12:22:47 +0300
committerCédric Ollivier <cedric.ollivier@orange.com>2018-05-29 10:15:58 +0200
commitceaea7f0cb95bce7f71d29dff71d58654cf0e700 (patch)
tree45ce948587ac410b918e54120ef3674f0579c76d
parent72b17bc82ac5c6a388adbfc8a564f118d0ccd247 (diff)
Simplify logging
In order to collect logs from features running through functest framework (mainly for troubleshooting purposes), the logging mechanism has been updated accordingly. It should be noted that feature logs are printed in functest.log. All logs are now printed in functest.log whatever the namespace. JIRA: SFC-125 Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I6cb32e5553749023d490d553ae4653750c52e844 Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/ci/logging.ini52
-rw-r--r--upper-constraints.txt2
2 files changed, 4 insertions, 50 deletions
diff --git a/functest/ci/logging.ini b/functest/ci/logging.ini
index d01472507..bed048f6d 100644
--- a/functest/ci/logging.ini
+++ b/functest/ci/logging.ini
@@ -1,25 +1,15 @@
[loggers]
-keys=root,functest,api,ci,core,cli,opnfv_tests,utils,xtesting,xci,xcore,energy,xutils
+keys=root,ci,core,xci,xcore
[handlers]
-keys=console,wconsole,file,null
+keys=console,wconsole,file
[formatters]
keys=standard
[logger_root]
level=NOTSET
-handlers=null
-
-[logger_functest]
-level=NOTSET
-handlers=file
-qualname=functest
-
-[logger_api]
-level=NOTSET
-handlers=wconsole
-qualname=functest.api
+handlers=wconsole,file
[logger_ci]
level=NOTSET
@@ -31,26 +21,6 @@ level=NOTSET
handlers=console
qualname=functest.core
-[logger_cli]
-level=NOTSET
-handlers=wconsole
-qualname=functest.cli
-
-[logger_opnfv_tests]
-level=NOTSET
-handlers=wconsole
-qualname=functest.opnfv_tests
-
-[logger_utils]
-level=NOTSET
-handlers=wconsole
-qualname=functest.utils
-
-[logger_xtesting]
-level=NOTSET
-handlers=file
-qualname=xtesting
-
[logger_xci]
level=NOTSET
handlers=console
@@ -61,22 +31,6 @@ level=NOTSET
handlers=console
qualname=xtesting.core
-[logger_energy]
-level=NOTSET
-handlers=wconsole
-qualname=xtesting.energy
-
-[logger_xutils]
-level=NOTSET
-handlers=wconsole
-qualname=xtesting.utils
-
-[handler_null]
-class=NullHandler
-level=NOTSET
-formatter=standard
-args=()
-
[handler_console]
class=StreamHandler
level=INFO
diff --git a/upper-constraints.txt b/upper-constraints.txt
index 9eb68299a..c0763dbb4 100644
--- a/upper-constraints.txt
+++ b/upper-constraints.txt
@@ -19,6 +19,6 @@ robotframework-sshlibrary===2.1.3;python_version=='2.7'
IPy===0.83
ansible===2.3.2.0
flasgger===0.6.6
-xtesting===0.41.0
+xtesting===0.42.0
networking-bgpvpn===8.0.0
sphinx-opnfv-theme===0.1.1