[issue11907] SysLogHandler can't send long messages

2011-04-23 Thread Lukáš Lalinský
Lukáš Lalinský added the comment: It will be called only from the handler, so I think it should be fine. The reason why I started using syslog was that I need to log into a single file from multiple processes, but it seems to be showing up as too much trouble

[issue11907] SysLogHandler can't send long messages

2011-04-23 Thread Lukáš Lalinský
Lukáš Lalinský added the comment: It seems that I was wrong, the exception is indeed not propagated to the application, but handled by the handleError() method. I was confused by seeing the traceback in my uWSGI log file. I'm unable to find a way to determine the maximum allowed s

[issue11907] SysLogHandler can't send long messages

2011-04-22 Thread Lukáš Lalinský
New submission from Lukáš Lalinský : It seems that logging.handlers.SysLogHandler can't handle messages that can't be passed atomically via the socket. I'm not sure what is the right behavior (the syslog() function truncates the message), but I think it shouldn't propag