Skip to content

Conversation

timurlenk07
Copy link

Logging via the root logger is a discouraged behaviour, since the end-user does not have a way to influence the level and handlers (and other details) of log messages of the specific module. See here.

In this PR, I replace the logging calls with calls on a module level logger instance.

@pezosanta
Copy link

Hi @rshipp and @george2,

Could any of you please accept this PR ASAP? This way logging level configuration of python-nut2 works as a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants