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:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 10:04 AM
To: LOG4J Users Mailing List; [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]