[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread Vinay Sajip
Vinay Sajip added the comment: Even though expecting the NUL-terminator is legacy behaviour, newer versions of the syslog daemons presumably follow Postel's rule of "be conservative in what you do, be liberal in what you accept from others". Can flume not be changed to follow this principle,

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread R. David Murray
R. David Murray added the comment: s/handler/receiver/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread R. David Murray
R. David Murray added the comment: While I agree that it should ideally be possible to actually control this behavior as indicated by the comment, any syslog handler that does not sanitize the messages it receives is broken. -- nosy: +r.david.murray __

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> vinay.sajip nosy: +vinay.sajip versions: +Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___

[issue12168] SysLogHandler incorrectly appents \000 to messages

2011-05-24 Thread Carl Crowder
New submission from Carl Crowder : logging.handlers.SysLogHandler contains this class variable and comment: # curious: when talking to the unix-domain '/dev/log' socket, a # zero-terminator seems to be required. this string is placed # into a class variable so that it can be overrid