Read Windows event log from via Cygwin /proc, /dev, ...?

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Nov 21 10:22:25 GMT 2024


On Nov 20 23:36, Dan Shelton via Cygwin wrote:
> On Wed, 24 Jul 2024 at 03:10, Brian Inglis via Cygwin <cygwin@cygwin.com> wrote:
> >
> > On 2024-07-23 18:07, Dan Shelton via Cygwin wrote:
> > > Does Cygwin have a script API to read the Windows event log, maybe via /proc
> > > or /dev?
> > Install package syslog-ng and set up Cygwin syslog, then set up other processes
> > that can, to write to syslog, and read that at /var/log/syslog.
> 
> That was not my idea. I want to access the Windows event log via /proc or /sys

Cygwin doesn't have that.  Is `wevtutil' not sufficient?

PTC, though I'm not sure what this is worth.  Windows events are not
just some numbers and a lump of strings.  They contain pointers (more
or less) into DLLs which in turn contain log strings.  And there
aren't just the four Windows logs anymore as in the past, but a whole
lot of "application and service logs".


Corinna


More information about the Cygwin mailing list