Re: handlers.SocketHandler and exceptions

2008-01-17 Thread writeson
On Jan 17, 2:45 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote: Vinay, Again, thanks for your very timely help! I was just editing the handlers.py code, and didn't really understand how that was going to work, and of course it didn't. I was just about to write to you again, and voila, you'd already re

Re: handlers.SocketHandler and exceptions

2008-01-17 Thread Vinay Sajip
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 han

Re: handlers.SocketHandler and exceptions

2008-01-17 Thread writeson
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 sh

Re: handlers.SocketHandler and exceptions

2008-01-17 Thread Vinay Sajip
On Jan 17, 1:47 pm, writeson <[EMAIL PROTECTED]> wrote: > Mark, > > > > > Check out the traceback module. It can translate the traceback into a > > variety of formats (such as a string) that can be pickled. > > > --Mark > > Thanks for the reply. I was looking at the traceback module and > thinking

Re: handlers.SocketHandler and exceptions

2008-01-17 Thread writeson
Mark, > > Check out the traceback module. It can translate the traceback into a > variety of formats (such as a string) that can be pickled. > > --Mark Thanks for the reply. I was looking at the traceback module and thinking along the same lines you are. The problem I'm having with that is how t

Re: handlers.SocketHandler and exceptions

2008-01-16 Thread Mark Tolonen
"writeson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > On our Linux systems at work I've written a Twisted logging server > that receives log messages from multiple servers/processes to post > them to a log file, essentially serializing all the process log > messages

handlers.SocketHandler and exceptions

2008-01-16 Thread writeson
Hi all, On our Linux systems at work I've written a Twisted logging server that receives log messages from multiple servers/processes to post them to a log file, essentially serializing all the process log messages. This works well, that is until I tried this test code: try: t = 10 / 0 except