Basic to Advanced Logging with Python in 10 Minutes

Logging crash course with common logging issues addressed

Kay Jan Wong
Towards Data Science
8 min readOct 18, 2022

--

Photo by Aditya Saxena on Unsplash
Photo by Aditya Saxena on Unsplash

In a Python project, it is easy to track the code progress and debug using print statements and stack trace. However, logging provides additional features of tracking and debugging with timestamps, file name, the line number of code, and more, differentiating between different…

--

--

Data Scientist, Machine Learning Engineer, Software Developer, Programmer | Someone who loves coding, and believes coding should make our lives easier