Python reading System/Application Event logs in Windows
So.... Does anyone have a pointer on how to read the System and Application
Event logs in the Windows environment from within Python?
EDS - TWAI Operations Special Projects
Work Cell: 972-877-0409
Nextel Private ID: 142*52*5511
Personal Cell: 940-597-4755
Re: Python reading System/Application Event logs in Windows
"Ellinghaus, Lance" <email@example.com> writes:
> So.... Does anyone have a pointer on how to read the System and Application
> Event logs in the Windows environment from within Python?
Use the win32evtlog module from the pywin32 (previously win32all)
package. There's an eventtLogDemo.py module in the demos directory
that provides some examples.
There's also the win32evtlogutil module which contains helper
functions such as FormatMessage for translating the event information
into an appropriate message (providing you have the message exe/DLL on
|All times are GMT. The time now is 05:12 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.