kapitan
kapitan copied to clipboard
Set logger error
Fixes kapitan compile shows output from like:
creating ... copying ... -> ...
It comes from: https://github.com/pypa/distutils/blob/main/distutils/file_util.py#L135
Proposed Changes
- setup all loggers on error
- keep kapitan and reclass on info as output such as Rendered inventory and Compiled target are emitted through it.
- kapitan inventory and compile has a paramter --logging-config that allows a yaml file.
Docs and Tests
- [] Tests added
- [ ] Updated documentation