[python-win32] Python parser for Windows Event Logs

Tim Roberts timr at probo.com
Fri Jul 17 00:57:31 CEST 2009


Tony Cappellini wrote:
> I've added the While loop Mark suggested but still see the same issue.
> GetNumberOfEventLogRecords() still returns 6 events,
> However the object returned from ReadEvenLog() still only contains 3 objects
> The next call to ReadeventLog() returns None
> ...
>   
> Would anyone be willing to try parsing their own SystemEvent log to
> see if they have the same issue (or parse min log and see if the
> results are the same) ?
>   

Similar.  I saved one of the application event logs, and although
GetNumberOfEventLogRecords returns 35 (which is right), the enumeration
only returns 1 entry if I read backwards, and 2 if I read forwards.

I shall experiment.

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



More information about the python-win32 mailing list