logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Jacobsen" <jerome.jacob...@gentootech.com>
Subject RE: NTEventLogAppender - remove ugly description message?
Date Thu, 09 Aug 2001 14:23:16 GMT
Please excuse my NT ignorance.  When you say the 'message resource DLL' are
you referring to the NTEventLogAppender.dll or some other DLL?
NTEventLogAppender.dll is in my path.  If it wasn't I would get an exception
(java.lang.UnsatisfiedLinkError).

What is addRegistryInfo?  It doesn't appear to be a method on
NTEventLogAppender class, at least not the version in Log4j 1.1.3.

-Jerome

-----Original Message-----
From: Christopher Taylor [mailto:cstaylor@java-internals.com]
Sent: Thursday, August 09, 2001 10:04 AM
To: LOG4J Users Mailing List; jerome.jacobsen@gentootech.com
Subject: Re: NTEventLogAppender - remove ugly description message?


Yes, the message resource DLL needs to be registered in the NT Registry.
The code addRegistryInfo handles that for you, so you need to make sure that
the NTEventLogAppender.dll is in your PATH (the windows system directory
should work AFAIK).

-Chris
----- Original Message -----
From: "Jerome Jacobsen" <jerome.jacobsen@gentootech.com>
To: <log4j-user@jakarta.apache.org>
Sent: Thursday, August 09, 2001 10:43 PM
Subject: NTEventLogAppender - remove ugly description message?


> I just tried out the NTEventLogAppender.  When I view the event in the
Event
> Viewer the Description says the following.
>
> 'The description for Event ID ( 4096 ) in Source ( Log4jTester ) cannot be
> found. The local computer may not have the necessary registry information
or
> message DLL files to display messages from a remote computer. The
following
> information is part of the event: Exiting application.'
>
> I was expecting just 'Exiting application.'
>
> Does anyone know how to get rid of that extra stuff that's getting added
to
> my message?
>
> Regards,
>
> Jerome
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message