| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Could any of you please accept this PR ASAP? This way logging level configuration of python-nut2 works as a charm. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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.