Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 13 Jul 2004 08:33:12 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Systemtechnik cc: cygwin AT cygwin DOT com Subject: Re: access to event log of windows In-Reply-To: <64A107CC-D498-11D8-B985-000393CE9342@kreisbote.de> Message-ID: References: <20040712090439 DOT GW1389 AT cygbert DOT vinschen DOT de> <64A107CC-D498-11D8-B985-000393CE9342 AT kreisbote DOT de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/