Python Logging

English | 2024 | ASIN: B0D4VJCQ96 | 154 Pages | PDF | 6 MB
Logging is great for debugging and auditing. You'll learn how to log properly with Python in this book!
What does every new developer do when they are first learning to program? They print out strings to their terminal. It's how we learn! But printing out to the terminal isn't what you do with most professional applications.
In those cases, you log in. Sometimes, you log into multiple locations at once. These logs may serve as an audit trail for compliance purposes or help the engineers debug what went wrong.
Python Logging teaches you how to log in the Python programming language. Python is one of the most popular programming languages in the world. Python comes with a logging module that makes logging easy.
What You'll Learn
In this book, you will learn how about the following
Logger objects
Log levels
Log handlers
Formatting your logs
Log configuration
Logging decorators
Rotating logs
Logging and concurrency
and more!
Quick check before we show the links
Helps us keep automated scrapers from hammering the filehosts.