When I run the first code snippet in the Logging Cookbook:

https://docs.python.org/3.7/howto/logging-cookbook.html


I don't get any output. This is contrary to what it states "The output looks like this:".


Since there is a lot of confusion around logging.Logger.setLevel

(https://stackoverflow.com/questions/43109355/logging-setlevel-is-being-ignored)

I hope this can be resolved!


Is the logging module itself perhaps malfunctioning?


Thanks!