DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4ALAMnoQ4016634 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4ALAMnoQ4016634 X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com Date: Thu, 21 Nov 2024 11:22:25 +0100 To: cygwin AT cygwin DOT com Subject: Re: Read Windows event log from via Cygwin /proc, /dev, ...? Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Nov 20 23:36, Dan Shelton via Cygwin wrote: > On Wed, 24 Jul 2024 at 03:10, Brian Inglis via Cygwin 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple