The Python Papers

The Python Papers

Python Logging - The Log Levels

Mike Driscoll's avatar
Mike Driscoll
Jun 12, 2024
∙ Paid

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…

User's avatar

Continue reading this post for free, courtesy of Mike Driscoll.

Or purchase a paid subscription.
© 2026 Mike Driscoll · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture