<snip>
require 'win32/eventlog'
include Win32
# Tail the event log
EventLog.open('Application').tail{ |log|
p log
}
# Read an event log
EventLog.read('Application'){ |log|
p log
}
Regards,
Dan
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
···
-----Original Message-----
From: Peña, Botp [mailto:botp@delmonte-phil.com]
Sent: Tuesday, April 25, 2006 3:34 AM
To: ruby-talk ML
Subject: ruby eventlog monitor for windowsHi Win32 team,
I am looking for a ruby way/library to monitor windows event log.
Something like an event viewer yet very powerful,