Logging levels allow you to control which messages you record in your logs. Think of log levels as verbosity levels. How granular do you want your logs to be?
Do you want to only log exceptions? Or would you like to log information and warnings too? You get to set all of these things using Python's logging
module.
In this chapter, you will learn about the…
Keep reading with a 7-day free trial
Subscribe to The Python Papers to keep reading this post and get 7 days of free access to the full post archives.