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

Discussion in 'Python' started by lebo, Sep 18, 2003.

  1. lebo

    lebo Guest

    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
     
    lebo, Sep 18, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tony Stock

    tailing a log file using c ...

    Tony Stock, Nov 20, 2003, in forum: C Programming
    Replies:
    10
    Views:
    702
    CBFalconer
    Nov 21, 2003
  2. jalkadir
    Replies:
    6
    Views:
    445
    jalkadir
    Oct 15, 2005
  3. Evan Klitzke

    Tailing a log file?

    Evan Klitzke, Jun 22, 2007, in forum: Python
    Replies:
    0
    Views:
    294
    Evan Klitzke
    Jun 22, 2007
  4. Kenji Noguchi

    Re: Tailing a log file?

    Kenji Noguchi, Jun 22, 2007, in forum: Python
    Replies:
    2
    Views:
    379
  5. SamXiao

    Tailing a series of log files

    SamXiao, Jun 12, 2013, in forum: Java
    Replies:
    8
    Views:
    270
    Arved Sandstrom
    Jun 16, 2013
Loading...

Share This Page