[New-bugs-announce] [issue17795] backwards-incompatible change in SysLogHandler with unix domain sockets
report at bugs.python.org
Fri Apr 19 08:58:32 CEST 2013
New submission from Mike Lundy:
The changed merged from http://bugs.python.org/issue16168 causes a regression in SysLogHandler behavior. The socktype of /dev/log is dependent on syslog configuration, and the fallback behavior (trying SOCK_DGRAM and then SOCK_STREAM if the former failed) was very useful.
A better fix for this would preserve the fallback behavior in cases where the caller has not specifically requested a socktype. I've attached a patch with one such approach.
components: Library (Lib)
title: backwards-incompatible change in SysLogHandler with unix domain sockets
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29937/0001-Restore-SysLogHandler-fallback-for-AF_UNIX-sockets.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce