win32: 'Tailing' the NT event log using pipes?

L

lebo

Hi List

I want to effectively 'tail' the NT event log - i.e. when a new event
arrives in the log, parse it and decide whether to take an action.

The track I've gone down is to create an event, and use event notify
change; code snippet.....

win32event.CreateEvent(.....)
win32evtlog.NotfiyChangeEventLog(...)

This works, but I can't get the very last (newest) record from the
event log.

Is it possible to open a named pipe to the event log. If so, how?
This is new groud to me and examples or ways to do this would be
appreciated.

Thanks, Leonard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top