logging library python

תמר ווסה tamarp540 at gmail.com
Wed Apr 27 15:44:00 EDT 2022


hello,  
we have many scripts of one project. what is the right way to define the logger to all scripts? we tried to create class that define the logger configuration+generic function (handler functions to write generic log message),  and each script define an instance of the class. But the log info is reference to the class script and not the right script. Should we need not to use the class ? should we need define logger to each script ? 


More information about the Python-list mailing list