View on GitHub

Quorten Blog 1

First blog for all Quorten's blog-like writings

Wow, important Python note. Missing from the documentation? How do you find out what handlers are available on a logger object? Well, there is this undocumented handlers field that you can read from to get the list. Wow, weird.

20160810/http://stackoverflow.com/questions/6333916/python-logging-ensure-a-handler-is-added-only-once