Re: ruby eventlog monitor for windows


Berger, Daniel [mailto:removed_email_address@domain.invalid] of win32 team wrote last
Wednesday, April 26, 2006 1:45 AM:

require ‘win32/eventlog’

include Win32

# Tail the event log‘Application’).tail{ |log|

p log


# Read an event log‘Application’){ |log|

p log



That’s it and it’s much better and powerful than i expected! Amazingly
powerful and simple! Thank you and thanks to the win32 team, too.

(i’m sorry i was too lazy to lookup the other files. I only read the
readme and tutorial.txt and then stopped. i did not read evenlog.txt and
the other .rb samples wc were very complete)

thank you and kind regards -botp