kapitan icon indicating copy to clipboard operation
kapitan copied to clipboard

Set logger error

Open dav9 opened this issue 2 years ago • 0 comments

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

dav9 avatar Dec 03 '23 14:12 dav9