Re: [python-win32] python-win32 Digest, Vol 76, Issue 13

2009-07-10 Thread Tony Cappellini
> Message: 1 > Date: Thu, 09 Jul 2009 22:20:56 +0100 > From: Tim Golden > Cc: [email protected] > Subject: Re: [python-win32] Python parser for Windows Event Logs > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Let me know

Re: [python-win32] Python parser for Windows Event Logs

2009-07-10 Thread Tim Roberts
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

Re: [python-win32] Python parser for Windows Event Logs

2009-07-10 Thread Tony Cappellini
Ok, I'm able to parse Event51 logs now. However, there seems to be a problem with the object returned from ReadEventLogs() GetNumberOfEvents() tells me there are 6 events. I can see all sixe events using the EventViewer in Control Panle, on Widnwos XP. However, the iterator returned from RedEv