The Python Papers

The Python Papers

Share this post

The Python Papers
The Python Papers
Python Logging - The Log Levels
Copy link
Facebook
Email
Notes
More

Python Logging - The Log Levels

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

Share this post

The Python Papers
The Python Papers
Python Logging - The Log Levels
Copy link
Facebook
Email
Notes
More
4
1
Share

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.

Already a paid subscriber? Sign in
© 2025 Mike Driscoll
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More