Daily Shaarli

All links of one day in a single page.

January 2, 2021

Python Logging Basics - The Ultimate Guide To Logging

simply log everything to a logger instance for their module name. This makes it easy for the application to route log messages of different modules to different places, if necessary.

Applications then have several options to configure logging. In a modern infrastructure, though, following best practices simplifies this a great deal. Unless specifically needed, simply logging to stdout/stderr and letting system or your container handle log messages is sufficient and the best approach.

Los niños perfectos - Cardinal

El conocimiento es un fin en sí mismo. No busques la implementación práctica.

Virtual Environments Demystified | Lukas Waymann

Clearly, this stuff must be really hard to get right. I also must be a moron, since, after having written some thousand lines of Python, I don’t even know what problem we are trying to solve here, and the abundance of relevant programs with subtly different names has deterred me from reading up on it so far.