access to event log of windows

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Jul 13 12:33:00 GMT 2004


On Tue, 13 Jul 2004, Systemtechnik wrote:

> Hello,
>
> >> is there a way to read/write from/to the event log of windows ?
> > syslog and vsyslog are implemented in Cygwin.  On NT they use the
> > event log system.
> You're right.
> But i think with syslog i can only write to the log.
> What i also need is to read from it :-)
> In other words: i'd like to scan NT eventlog for errors,
> programatically.

I have doubts there's a portable way to scan syslog programmatically.  If
you simply want to access the NT event log, look at the libwin32-perl
package (there may be other ways, too).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list