Error Log
Joonas Paalasmaa
joonas at olen.to
Fri May 10 16:36:27 EDT 2002
"Billy Ng" <kwokng at earthlink.net> wrote in message news:<GGQC8.569$Nt3.62535 at newsread2.prod.itd.earthlink.net>...
> 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!
Use the Python logging module and specifically it's exception-function.
http://www.red-dove.com/python_logging.html
More information about the Python-list
mailing list