[Python-checkins] python/dist/src/Lib/logging handlers.py,1.2,1.3

A.M. Kuchling amk@amk.ca
Sun, 26 Jan 2003 08:26:42 -0500


On Sat, Jan 25, 2003 at 06:14:25PM -0800, nnorwitz@users.sourceforge.net wrote:
>SF #642974, logging SysLogHandler proto type wrong
>
>Syslog uses UDP (SOCK_DGRAM)

Actually it varies; some systems use a datagram socket, but others use
a stream.  I think it changed between two revisions of Red Hat, for
example.  A little while ago I accepted a patch to the Medusa syslog
support that tries to open /dev/log as a datagram socket first, and if
that fails tries it as a stream socket.

--amk