From d988594d88450d5bd579d503225ba6ec35492b9d Mon Sep 17 00:00:00 2001 From: Panagiotis Karalis Date: Fri, 25 May 2018 12:22:47 +0300 Subject: Simplify logging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Change-Id: I6cb32e5553749023d490d553ae4653750c52e844 Signed-off-by: Panagiotis Karalis Signed-off-by: Cédric Ollivier (cherry picked from commit ceaea7f0cb95bce7f71d29dff71d58654cf0e700) --- functest/ci/logging.ini | 52 +++---------------------------------------------- upper-constraints.txt | 2 +- 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 -- cgit 1.2.3-korg