summaryrefslogtreecommitdiffstats
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-30 09:25:31 +0200
commitd988594d88450d5bd579d503225ba6ec35492b9d (patch)
treedd8e01a6fda2076fbee7e815891896c1b526dd9a
parent50366aa0a3e3ce06bcf7879317467020a6faa97c (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> (cherry picked from commit ceaea7f0cb95bce7f71d29dff71d58654cf0e700)
-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 95072a678..914ff615a 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.32.0
+xtesting===0.33.0
networking-bgpvpn===7.0.0
sphinx-opnfv-theme===0.1.1