delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/17/12:54:02

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: <3A156E1A.DF93F705@redhat.com>
Date: Fri, 17 Nov 2000 18:42:50 +0100
From: Corinna Vinschen <vinschen AT 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 cygwin DOT com>
CC: cygwin <cygwin AT cygwin 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> <3A151760 DOT A3D339F6 AT redhat DOT com> <3A15D079 DOT E4580042 AT sattel DOT com>

Bruce Edge wrote:
> 
> How about using openlog() to determine how to handle this?
> I'm not sure I can suggest which argument to openlog() could be used to
> provide some sort of hint to cygwin as to how the app wanted to handle this
> issue.
> Perhaps extend the openlog API to take a filename which would specify the
> insertion string map file.
> Of course this would involve a registry write on app startup to get the
> message file name into the registry.

I'm not sure if it's worth to change the openlog interface. It
contains the identity as first parameter already.
Wouldn't it be enough to add a registry key for an application to
point to the Cygwin DLL as message file?
Personally I would favour to use always the one and only Cygwin
registry key to avoid polluting the registry with entries for all
Cygwin applications using syslog.

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