From: "Berger, Daniel" Date: 2006-04-26T02:44:53+09:00 Subject: Re: ruby eventlog monitor for windows > -----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 windows > > > Hi Win32 team, > > I am looking for a ruby way/library to monitor windows event log. > > Something like an event viewer yet very powerful, 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.