d3c83259bf
Fix logging to console to depend on input CLI args. By default, keep logging to stdout. Make --log-file argument working as well. Use the input verbosity parameters as a controlling switch for logs verbosity. Evaluate log levels as: * 1 (WARNING+) - the default log level if neither -v nor --debug used * 2 (INFO+) - applies if -v / --verbose * 4 (DEBUG+) - applies if --debug, dumps command results to file, if --log-file is requested. * 5 (DEBUG+) - applies if --debug and -v. Like the latter mode, but also dumps the executed commands results to console. This is needed for better deployments troubleshootng. Closes-Bug: #1799182 Change-Id: I653ac4cc520e40f3eb4d029e8c99ab482b17a859 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
compose1.py | ||
podman.py |