[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-10 Thread Vinay Sajip
Vinay Sajip added the comment: Fix checked into trunk and py3k. -- resolution: -> fixed stage: test needed -> status: open -> closed ___ Python tracker ___

[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-09 Thread Jr Aquino
Jr Aquino added the comment: Vinay, tested on all syslog daemons/servers. Works perfectly. Thank you very much. I appreciate your time greatly. -- status: pending -> open ___ Python tracker __

[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-09 Thread Vinay Sajip
Vinay Sajip added the comment: @Jr Aquino: can you please test the attached alternative patch with all the various syslog daemons in Unix domain, UDP and TCP socket combinations, and post your results here? Thanks. P.S. Also available colourised at http://gist.github.com/206380 -- assi

[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-09 Thread Jr Aquino
Jr Aquino added the comment: Thank you for responding so quickly Vinay. I am using a multitude of syslog daemons, from syslog, syslog-ng, rsyslog, and several different proprietary SIEM/SEM Log archiving appliances. I work in the security sector. (Yes I have read Rainer before, its actually

[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-09 Thread Vinay Sajip
Vinay Sajip added the comment: Which syslog daemon are you using? There are some issues pending with syslog-ng and Python logging (see issue6444) and in general syslog over TCP is not necessarily all that reliable, see http://blog.gerhards.net/2008/04/on-unreliability-of-plain-tcp-syslog.html

[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-08 Thread Jr Aquino
Changes by Jr Aquino : Removed file: http://bugs.python.org/file15084/handlers.py.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-08 Thread Jr Aquino
Jr Aquino added the comment: Here is the patch with the requested syntactical corrections. -- Added file: http://bugs.python.org/file15085/handlers.py.diff ___ Python tracker ___

[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-08 Thread R. David Murray
R. David Murray added the comment: I'll leave it to Vinay to pronounce on the request and the validity of the patch, but a couple of comments on the mechanics of the patch: You have some rogue whitespace on one of the blank lines. More importantly, you are adding a keyword parameter at the beg

[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-08 Thread Jr Aquino
New submission from Jr Aquino : This patch is to address the deficiency in sending syslog messages to an external syslog server via tcp or udp. Currently the handler only really supports udp unless it is being redirected locally through a unix socket. The submitted patch allows for the standa