Importance of logging in python
Not in the mood of writing much today so will probably leave the link which I found useful and will definitely help us if we want to know more about logging. https://fangpenlin.com/posts/2012/08/26/good-logging-practice-in-python/ There’s only one thing that they have not explained properly and that is the use of
__name__
. Basically, this will tell the name of the file and improve the log message. This helps us to make more sense of the logging message and we can tell where the error occurred during the program execution.
About Author
Ranvir Singh
Greetings! Ranvir is an Engineering professional with 3+ years of experience in Software development.
Original Source: Original Post
Please share your Feedback:
Did you enjoy reading or think it can be improved? Don’t forget to leave your thoughts in the comments section below! If you liked this article, please share it with your friends, and read a few more!