Skip to content

Instantly share code, notes, and snippets.

View DBCerigo's full-sized avatar

Daniel Burkhardt Cerigo DBCerigo

View GitHub Profile
@mariocj89
mariocj89 / python-logging.md
Last active April 13, 2024 13:15
Understanding logging in Python

Logging trees

Introduction

When applications are running in production, they become black boxes that need to be traced and monitored. One of the simplest, yet main, ways to do so is logging. Logging allows us - at the time we develop our software - to instruct the program to emit information while the system is running that will be useful for us and our sysadmins.