[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-09 Thread Jr Aquino

Jr Aquino jr.aqu...@citrixonline.com 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 a big reason I am writing 
the tool that I am working on. Gaps in logs are a real world problem!) 

Regarding issue 6444, these users are attempting to use SysLogHandler to 
write to the local system's syslog sockets. A way of piggy backing on 
the configuration of the local systems logging daemon.

What I am actually doing is ignoring the local systems syslog, and 
sending the syslog packets directly to a remote syslog server. This is 
to replay syslog data that may have been previously lost due to 
connectivity outages.  My tool can also be used to send the data to an 
external server for forensic reasons.

I believe the answer to your last question also sheds light on your 
first question!

The reason that I am looking to add TCP is because a lot of new data 
center architectures are heavily utilizing tcp syslog in a chained / 
centralized environment.  I am also seeing a lot of preferential 
treatment of tcp syslog on logging appliances such as Loglogic.

I am sorry to hear that your test environment is lacking the regression 
suites that you need.

I do hope that another commiter can test for us.  Syslog is an old 
technology and I hope that more efforts like mine and Rainer's can help 
to identify and correct deficiencies in the design.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7086
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-09 Thread Jr Aquino

Jr Aquino jr.aqu...@citrixonline.com 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 rep...@bugs.python.org
http://bugs.python.org/issue7086
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-08 Thread Jr Aquino

New submission from Jr Aquino jr.aqu...@citrixonline.com:

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 standard udp SOCK_DGRAM behavior to 
continue being the default, but allows for a protocol object to be defined 
as tcp to allow for the alternate protocol.

--
components: Extension Modules
files: handlers.py.diff
keywords: patch
messages: 93766
nosy: enigma
severity: normal
status: open
title: logging.handlers.SysLogHandler with TCP support
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file15084/handlers.py.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7086
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-08 Thread Jr Aquino

Jr Aquino jr.aqu...@citrixonline.com added the comment:

Here is the patch with the requested syntactical corrections.

--
Added file: http://bugs.python.org/file15085/handlers.py.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7086
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7086] logging.handlers.SysLogHandler with TCP support

2009-10-08 Thread Jr Aquino

Changes by Jr Aquino jr.aqu...@citrixonline.com:


Removed file: http://bugs.python.org/file15084/handlers.py.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7086
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com