I'm writing a library in Python that does quite a bit of logging. I'm aware of the docs recommending a library not configure a logging handler (as well as questions here and here). The official recommendation is to just supply the NullHandler, so that users of the library can configure logging as they see fit. My question is what cases would justify going against this recommendation? Assuming my library is actually a library (not an application), is there any time that I might want to specify a handler for the logger? Even more specifically, if logging is a critical part of how my library is going to be used, how can I make configuring it more painless for the user? Continue reading...