[python-win32] EventLog Parsing

Mark Hammond mhammond at skippinet.com.au
Thu Sep 30 01:01:35 CEST 2004


win32evtlog.OpenBackupEventLog() exists.  The official MSDN docs appear to
say this can only be used to perform a backup, but that makes no sense.
Other MS docs say the handle returned can be used by ReadEventLog etc.  I've
never tried it though.

Mark.

> -----Original Message-----
> From: python-win32-bounces+mhammond=keypoint.com.au at python.org
> [mailto:python-win32-bounces+mhammond=keypoint.com.au at python.org]On
> Behalf Of Richard Eibrand
> Sent: Wednesday, 29 September 2004 6:40 PM
> To: python-win32 at python.org
> Subject: [python-win32] EventLog Parsing
>
>
> Hi All,
>
> My first foray into the world of python, and I'm liking it ;-)
>
> I have to write a prog to monitor the windows event log
> files, and that in
> itself is not a problem for the three standard EventLog files
> (Application, Security and System). The thing is that I do
> not have access
> to the machine I am writting the app for, so I got a copy of
> the event
> files and loaded it into the mmc.
>
> What I'd like to do, is to read the new event file that was
> loaded into
> the mmc via using the python app that I'm writting, any
> ideas/thoughts/suggestions whether this is possible or not?
>
> All the best,
>
> Richard
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32



More information about the Python-win32 mailing list