[issue12168] SysLogHandler incorrectly appends \000 to messages

2011-05-25 Thread Carl Crowder
Carl Crowder added the comment: Oh, I understand. Flume doesn't break, it handles the \0 just fine, the problem is that I ended up with a message with that additional byte on the end. Sorry for the confusion! -- ___ Python tracker

[issue12168] SysLogHandler incorrectly appends \000 to messages

2011-05-25 Thread Carl Crowder
Carl Crowder added the comment: Flume certainly could avoid parsing certain values. However, while a syslog application "should avoid octet values below 32", they are still "legal" [1]. I don't think that adjusting flume to reject legal values due to legacy behav

[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