[ python-Bugs-900626 ] add logging.shutdown() to python logging module example code

SourceForge.net noreply at sourceforge.net
Thu Feb 19 15:45:05 EST 2004


Bugs item #900626, was opened at 2004-02-19 12:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=900626&group_id=5470

Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Manuel Schulte (manuel)
Assigned to: Nobody/Anonymous (nobody)
Summary: add logging.shutdown() to python logging module example code

Initial Comment:
Hi There,

I was trying to get logging with the logging module
working using code from the example provided in section
6.28.8.1 in the documentation.  My log file was empty
after program execution completed.  I ended up adding
'logging.shutdown()' to the end of the example code to
finally see the results in the file ('hdlr.close()'
works as well).

cheers,
manuel






----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=900626&group_id=5470



More information about the Python-bugs-list mailing list