juju / python-libjuju

Python library for the Juju API
Apache License 2.0
59 stars 97 forks source link

Need to log unit action activity without enabling DEBUG logging #346

Closed ryan-beisner closed 1 year ago

ryan-beisner commented 5 years ago

There are certain activities which I need to log in OpenStack Charm testing, but they are set in libjuju at the DEBUG level. The DEBUG level is hyper-verbose, with tons of Watcher and Pinger noise. While that is helpful when triaging tricky issues, it prevents us from seeing some useful log messages because we can't enable DEBUG everywhere on all test runs due to the noise level.

I'm proposing to shift a number of log.debug() entries to a log.info() level to improve the general observability and UX.

juanmanuel-tirado commented 1 year ago

This was already fixed in #347