Logging from different python scripts to different output files
Peter Otten
__peter__ at web.de
Wed Mar 29 02:58:49 EDT 2017
James McMahon wrote:
[Please keep the discussion on the list]
> Thank you Peter. Is it necessary to employ a close() on the handlers and a
> shutdown() on the loggers themselves? -Jim
Not unless you run into problems with the default mechanism --
logging.shutdown() is scheduled via atexit.register() and invoked when the
application terminates normally.
More information about the Python-list
mailing list