Add option to enable debug logs 79/12379/4
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 24 Aug 2018 01:36:46 +0000 (21:36 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 24 Aug 2018 04:31:08 +0000 (00:31 -0400)
commit2380b4e056c54b0258bffa43972fbc171b4af481
tree44208cfc395f4f80a366b754d5c3e645eddd0f1a
parent28fc57084d22dd96db149069666e945b039b474a
Add option to enable debug logs

Default the logger to INFO level and add an option to turn on DEBUG
level logs. Update the unit_tests to pass in a context since we need
it now in order to support the top-level configuration.

Change-Id: I253a127f7dc0cee5475d8403da8f82e018fdf36e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/commands/index.rst
lftools/__init__.py
lftools/cli/__init__.py
releasenotes/notes/debug-e80d591d478e69cc.yaml [new file with mode: 0644]
tests/test_license.py
tests/test_version.py