The Python Oracle

Python Logging - Disable logging from imported modules

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: The Builders

--

Chapters
00:00 Question
01:15 Accepted answer (Score 132)
02:14 Answer 2 (Score 66)
03:23 Answer 3 (Score 63)
04:15 Answer 4 (Score 30)
05:07 Thank you

--

Full question
https://stackoverflow.com/questions/3532...

Question links:
[logging - how to ignore imported module logs?]: https://stackoverflow.com/questions/2768...

Accepted answer links:
[getLogger]: https://docs.python.org/3/library/loggin...
[Advanced Logging Tutorial]: https://docs.python.org/3/howto/logging....

Answer 2 links:
[logging advanced tutorial]: https://docs.python.org/3.5/howto/loggin...
[troubleshooting]: https://matplotlib.org/faq/troubleshooti...

Answer 3 links:
[requests]: https://github.com/kennethreitz/requests...

Answer 4 links:
https://gist.github.com/st4lk/6287746
[here]: https://gist.github.com/st4lk/6287746

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #logging

#avk47