[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 10:01:21 CET 2008

Jeremy Nicoll - pyw32 wrote:
> Warning: I know nearly nothing about Windows, DLLs, COM etc.  My programming
> has mainly been done on mainframes and RISC OS (ARM) machines.
> Kiwi Enterprises, at: http://www.kiwisyslog.com/ provide some free syslog
> utilities.  
> Amongst them are a set of DLLs eg one called KLOG_COM.dll which I think can
> be used from various programming languages to generate syslog records.
> As I found out about this way of generating syslog records while reading
> about Kiwi's utilities I've assumed that this is the way (or at least a good
> way) to generate syslog records from a Python program, but I suppose there
> must be other ways too?  A platform-independent method would clearly be
> better...

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.

Worth a look?


More information about the python-win32 mailing list