delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/17/06:33:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A151760.A3D339F6@redhat.com>
Date: Fri, 17 Nov 2000 12:32:48 +0100
From: Corinna Vinschen <vinschen AT redhat DOT com>
Reply-To: cygwin AT sources DOT redhat DOT com
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: syslog -> NT event logger mapping
References: <3A14D32A DOT B5869866 AT sattel DOT com> <3A150BD3 DOT C44D46A0 AT redhat DOT com> <006a01c05087$b1d0ebc0$f7c723cb AT lifelesswks>

Robert Collins wrote:
> 
> /speaking from ignorance
> 
> what about the insertion strings? Can't cygwin just have a single message
> file with a single message, that is nothing but an insertion string?

Yes, that's the way I was talking of.

> If it needs to be registered for each, well that could be a simple
> register_syslog exefile.exe

The RegisterEventSource call currently uses the process_ident
from `openlog' as identifier. This would have to be changed so
that always "Cygwin" is the identifier and then there would be
only one entry needed in the registry, the "Cygwin" subkey which
points to the DLL which in turn contains the one and only (empty)
message string. The process_ident would become a part of the
comment string only.

> And yes I'd be willing to put some effort into making it happen.

I'm happy to read this :-))

BTW: I have just made a tiny change in syslog.cc. It now adds the
user SID to the event log so that the name of the user is displayed
instead of N/A (assuming `ntsec' is on).

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT redhat DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019