diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-07-10 13:45:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-07-10 13:45:20 +0000 |
commit | 3f336efd9daf442b5c13954a6df830b09228d576 (patch) | |
tree | d0bced90697d103277ae1abe2088bd5ec5989a13 | |
parent | 8b2f524f0f17f06bf1de02e0165230bad218132b (diff) | |
parent | 3f4e49c480ac9a72c76c7c8435caad2fcf81abf0 (diff) |
Merge "Define one logger per key module"
-rw-r--r-- | functest/ci/logging.ini | 72 |
1 files changed, 69 insertions, 3 deletions
diff --git a/functest/ci/logging.ini b/functest/ci/logging.ini index bed048f6d..98d2e7317 100644 --- a/functest/ci/logging.ini +++ b/functest/ci/logging.ini @@ -1,15 +1,25 @@ [loggers] -keys=root,ci,core,xci,xcore +keys=root,functest,api,ci,core,cli,opnfv_tests,utils,xtesting,xci,xcore,energy,xutils,sfc,sdnvpn,baro,warnings [handlers] -keys=console,wconsole,file +keys=console,wconsole,file,null [formatters] keys=standard [logger_root] level=NOTSET -handlers=wconsole,file +handlers=null + +[logger_functest] +level=NOTSET +handlers=file +qualname=functest + +[logger_api] +level=NOTSET +handlers=wconsole +qualname=functest.api [logger_ci] level=NOTSET @@ -21,6 +31,26 @@ 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 @@ -31,6 +61,42 @@ 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 + +[logger_sfc] +level=NOTSET +handlers=file,wconsole +qualname=sfc + +[logger_sdnvpn] +level=NOTSET +handlers=file,wconsole +qualname=sdnvpn + +[logger_baro] +level=NOTSET +handlers=file,wconsole +qualname=baro_tests + +[logger_warnings] +level=NOTSET +handlers=file,console +qualname=py.warnings + +[handler_null] +class=NullHandler +level=NOTSET +formatter=standard +args=() + [handler_console] class=StreamHandler level=INFO |