Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <006a01c05087$b1d0ebc0$f7c723cb@lifelesswks> From: "Robert Collins" To: References: <3A14D32A DOT B5869866 AT sattel DOT com> <3A150BD3 DOT C44D46A0 AT redhat DOT com> Subject: Re: syslog -> NT event logger mapping Date: Fri, 17 Nov 2000 22:15:27 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 11:06:42.0825 (UTC) FILETIME=[7791AF90:01C05086] /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? If it needs to be registered for each, well that could be a simple register_syslog exefile.exe And yes I'd be willing to put some effort into making it happen. Rob ----- Original Message ----- From: "Corinna Vinschen" To: "cygwin" Sent: Friday, November 17, 2000 9:43 PM Subject: Re: syslog -> NT event logger mapping > Bruce Edge wrote: > > > > I think it's great that syslog works under cygwin, but I have a question about > > the events that are logged. > > They all start with: > > > > "The description for Event ID ( 0 ) in Source ( LCBD ) could not be found. It > > contains the following insertion string(s):" > > [...] > > Is there a way to get rid of the extra garbage at the beginning of the > > message? > > Not an easy way I know of. The problem here is the way the syslog is > organized in NT. A part of the syslog entry (and unfortunately the most > important one) is a pointer into a message file which contains the > _real_ log text. The log text which you are interested in is only a sort > of comment. The name of the message file has to be stored in the registry. > You would need an entry there for each application which uses the syslog > facility. > > However, there _is_ a way but it's work. > > 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 > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com