Importance of logging in python

August 2, 2017 · 1 min read
Categories: GSoC-2017 |

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.

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!

We don't share your details with others