Author vinay.sajip
Recipients lukas.lalinsky, vinay.sajip
Date 2011-04-23.10:24:34
SpamBayes Score 2.0341e-08
Marked as misclassified No
Message-id <1303554276.79.0.411331653938.issue11907@psf.upfronthosting.co.za>
In-reply-to
Content
The entire part of emit() which sends to the socket is wrapped in an except: which should catch all except KeyboardInterrupt and SystemExit. The except clause calls the handleError method of the handler. See

http://hg.python.org/cpython/file/fa277cbd66bb/Lib/logging/handlers.py#l804

So I can't see exactly what's happening, and moreover I can't reproduce this on Linux even when sending messages of > 16384 on the Unix socket. I don't have access to a FreeBSD system.

Can you do a little more investigation, since I'm not sure what your source says? (The line nos. don't seem to match up exactly - in Mercurial, line 808 is an except socket.error clause).
History
Date User Action Args
2011-04-23 10:24:36vinay.sajipsetrecipients: + vinay.sajip, lukas.lalinsky
2011-04-23 10:24:36vinay.sajipsetmessageid: <1303554276.79.0.411331653938.issue11907@psf.upfronthosting.co.za>
2011-04-23 10:24:34vinay.sajiplinkissue11907 messages
2011-04-23 10:24:34vinay.sajipcreate