[python-win32] How to generate syslog records from a Python program eg using Kiwi's KLOG_COM.dll?

Tim Golden mail at timgolden.me.uk
Mon Mar 3 12:35:15 CET 2008


Jeremy Nicoll - pyw32 wrote:
> Tim Golden <mail at timgolden.me.uk> wrote:

>> Just to save me downloading and trying to understand the Kiwi
>> tools, the logging module has a SysLogHandler which (glancing
>> quickly at the source) seems to be a handcrafted socket implementation
>> which should therefore be cross-platform.
> 
> Ah, yes...   Thank-you!   I wish I'd known that existed.
> 
> Still, the logging module looks complicated to set up.  I'll experiment and
> see where I get.

It does (deservedly, I think) have that reputation. Have a look
at its entry in Doug Hellman's module-of-the-week series; might
be useful.

http://blog.doughellmann.com/2007/05/pymotw-logging.html

TJG


More information about the python-win32 mailing list