# Re: ruby eventlog monitor for windows

**URL:** <https://www.ruby-forum.com/t/re-ruby-eventlog-monitor-for-windows/94234>\
**Category:** Ruby\
**Created:** [April 26, 2006, 3:04am UTC](https://www.ruby-forum.com/t/re-ruby-eventlog-monitor-for-windows/94234 "2006-04-26T03:04:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeSSSSaS\_Botp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Post date:** [April 26, 2006, 3:04am UTC](https://www.ruby-forum.com/t/re-ruby-eventlog-monitor-for-windows/94234/1 "2006-04-26T03:04:18Z")

</div>

Berger, Daniel [[mailto:removed\_email\_address@domain.invalid](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

# EventLog.open(‘Application’).tail{ |log|

# p log

# }

# 

# # Read an event log

# EventLog.read(‘Application’){ |log|

# p log

# }

Daniel,

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

# Regards,

# Dan
