diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-03-14 13:22:29 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-03-14 13:22:29 +0100 |
commit | 7168abb7509750ece58fa501a56a8b1ebad2dbf8 (patch) | |
tree | b55c6c414130d9b2287578648c93f3cc43935222 /docker/core | |
parent | 2649efe3166ec1525f825bf21b63e6eb53aaaac6 (diff) |
Publish debug logging config
Change-Id: I6a42fdeb20e0d549819c327e92e138c28dc927e1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/core')
-rw-r--r-- | docker/core/Dockerfile | 1 | ||||
-rw-r--r-- | docker/core/logging.debug.ini | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile index 96df5742..7c468040 100644 --- a/docker/core/Dockerfile +++ b/docker/core/Dockerfile @@ -23,4 +23,5 @@ RUN apk --no-cache add --update python3 bash git grep libffi openssl mailcap && mkdir -p /var/lib/rally/database && rally db create && \ apk del .build-deps COPY logging.ini /usr/lib/python3.8/site-packages/xtesting/ci/logging.ini +COPY logging.debug.ini /usr/lib/python3.8/site-packages/xtesting/ci/logging.debug.ini CMD ["run_tests", "-t", "all"] diff --git a/docker/core/logging.debug.ini b/docker/core/logging.debug.ini new file mode 100644 index 00000000..8d93df4d --- /dev/null +++ b/docker/core/logging.debug.ini @@ -0,0 +1,70 @@ +[loggers] +keys=root,xtesting,xci,xcore,energy,xutils,functest_kubernetes + +[handlers] +keys=console,wconsole,file,dfile + +[formatters] +keys=standard + +[logger_root] +level=NOTSET +handlers=dfile + +[logger_xtesting] +level=NOTSET +handlers=file +qualname=xtesting + +[logger_xci] +level=NOTSET +handlers=console +qualname=xtesting.ci + +[logger_xcore] +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_functest_kubernetes] +level=NOTSET +handlers=wconsole,file +qualname=functest_kubernetes + +[handler_dfile] +class=FileHandler +level=DEBUG +formatter=standard +args=("/home/opnfv/functest/results/functest-kubernetes.debug.log",) + +[handler_console] +class=StreamHandler +level=INFO +formatter=standard +args=(sys.stdout,) + +[handler_wconsole] +class=StreamHandler +level=WARN +formatter=standard +args=(sys.stdout,) + +[handler_file] +class=FileHandler +level=DEBUG +formatter=standard +args=("/home/opnfv/functest/results/functest-kubernetes.log",) + +[formatter_standard] +format=%(asctime)s - %(name)s - %(levelname)s - %(message)s +datefmt= |