win32: 'Tailing' the NT event log using pipes?
lebo
leonardbocock at yahoo.com
Wed Sep 17 20:14:20 EDT 2003
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
More information about the Python-list
mailing list