On Jan 17, 5:50 pm, writeson <[EMAIL PROTECTED]> wrote:
> Vinay,
>
> Thanks for your reply, very interesting. We're currently running
> Python2.3 (though we are getting ready to move to Python2.5), so I'm
> guessing the code you're showing comes from Python2.5? I'm wondering
> if I can edit the handlers.py code in my Python2.3 installation, make
> the changes you show above, and have things work? Any thoughts on
> this?
>
> Thanks for the help!!
> Doug

It shouldn't be a problem if you edit your copy [make a backup first,
of course :-)] , but make sure you also edit __init__.py which has the
part that caches the exception text in record.exc_text. Just search
for exc_text in the logging code to find all the places to change.

Best regards,


Vinay
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to