| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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 <pechtcha AT cs DOT nyu DOT edu> |
| Reply-To: | cygwin AT cygwin DOT com |
| To: | Systemtechnik <technik AT kreisbote DOT de> |
| 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: | <Pine.GSO.4.58.0407130829130.29800@slinky.cs.nyu.edu> |
| References: | <D69E8A13-D3CF-11D8-91ED-000393CE9342 AT kreisbote DOT de> <20040712090439 DOT GW1389 AT cygbert DOT vinschen DOT de> <64A107CC-D498-11D8-B985-000393CE9342 AT kreisbote DOT de> |
| MIME-Version: | 1.0 |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |