This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: syslog -> NT event logger mapping
- To: cygwin <cygwin at sources dot redhat dot com>
- Subject: Re: syslog -> NT event logger mapping
- From: Corinna Vinschen <vinschen at redhat dot com>
- Date: Fri, 17 Nov 2000 11:43:31 +0100
- References: <3A14D32A.B5869866@sattel.com>
- Reply-To: cygwin at sources dot redhat dot com
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@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@redhat.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com