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

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: <018d01c050eb$3ee29ff0$f7c723cb@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin AT sources DOT redhat DOT com>
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>
Subject: Re: syslog -> NT event logger mapping
Date: Sat, 18 Nov 2000 10:08:04 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
X-OriginalArrivalTime: 17 Nov 2000 22:59:17.0793 (UTC) FILETIME=[03841110:01C050EA]

----- Original Message -----
From: "Bruce Edge" <bedge AT sattel DOT com>
To: <cygwin AT sources DOT redhat DOT com>
Sent: Saturday, November 18, 2000 11:42 AM
Subject: Re: syslog -> NT event logger mapping


> 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.

Nice idea.. I don't know enough of the API's to comment though :-[

> Of course this would involve a registry write on app startup to get the
> message file name into the registry.

That would be bad. IIRC You need admin rights to add the message files to
the appropriate key, but any application can log messages regardless of the
user privilege.

<snip>
Rob


--
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