logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kettal, El-Yamine" <El-Yamine.Ket...@cognos.com>
Subject EventLog.
Date Fri, 15 Nov 2002 16:20:45 GMT
I do not know if this is a known issue. I am using the latest log4j version

I tried to use the EventLog appender by using the provided program
Events were well logged, however there is an error string that appears on
each logged event:

The description for Event ID ( 4096 ) in Source ( Log4j ) 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: 

After investigating this problem, I found a workaround in the registry: 
I have updated the item value of EventMessageFile of the key "Log4j" by
adding the path where NTEventLogAppender.dll is located on my disk. Then
every worked fine.

I have checked the program nteventlog.cpp and I found that the name
NTEventLogAppender.dll is harcoded in the function addRegistryInfo. This is
a bug. I think we should be able to pass the path where
NTEventLogAppender.dll is located to avoid the stated above.

In case this issue is know, please let me know if it has been fixed or any
status regarding to it.


This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

View raw message