[python-win32] Python parser for Windows Event Logs

Tim Roberts timr at probo.com
Fri Jul 10 21:04:04 CEST 2009


Tony Cappellini wrote:
>>  Tim G's "winsys" wrapper will only read the live event logs.  However,
>>  the native Win32 event log APIs can all read a saved .evt file just as
>>  well as a live log.
>>
>>  You need to look into the win32evtlog module.
>>  win32evtlog.OpenBackupEventLog should let you access arbitrary evt files.
>>     
>
> This call also requires the system name as the first argument.
> int = OpenBackupEventLog(serverName, fileName )
>   

Or "None".  You have to read the documentation.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list