Error Log

Mark McEahern marklists at mceahern.com
Fri May 10 10:58:42 EDT 2002


[Billy Ng]
> I need to write a error log module that append the error line into a log
> file every time an exception is thrown.  Would anybody please 
> give me input for how to do it in pytohn, thanks!

There's a PEP for adding this to Python's standard library:

  http://www.python.org/peps/pep-0282.html

Also, see this:

  http://www.red-dove.com/python_logging.html

Cheers,

// mark





More information about the Python-list mailing list