Hello everyone,
We have a requirement to log events in our Custom Log Error Records using
Log4J's NTEventLogAppender in Windows environment.
Currently Log4J can log events in Windows Application Error Records in
Windows Event Viewer.
Can we log into our Custom Log Error Records using Log4J's
Hello everyone,
We have a requirement to log events in our Custom Log Error Records using
Log4J's NTEventLogAppender in Windows environment.
Currently Log4J can log events in Windows Application Error Records in
Windows Event Viewer.
Can we log into our Custom Log Error Records using Log4J's
Hello,
I am successfully using the NTEventLogAppender in my application to log
to the Windows Event Logs and output is showing up in the Application log.
I am hoping someone may be able to tell me how I might be able to change the
log that my application logs to. For example, I would like
On Aug 21, 2009, at 12:52 PM, Aa Bb wrote:
Hello,
I am using various appenders in my xml configuration file, i.e.
Console, RollingFile, and SocketAppender.
My NTEventLogAppender however is not working.
Computer Config: Windows XP Service Pack 2
Log4j: log4j-1.2.15
I Did This: C:\windows
Hello,
I am using various appenders in my xml configuration file, i.e. Console,
RollingFile, and SocketAppender.
My NTEventLogAppender however is not working.
Computer Config: Windows XP Service Pack 2
Log4j: log4j-1.2.15
I Did This: C:\windows\system32\NTEventLogAppender.dll
I Did
I have been unable to find a list of the versions of Windows that
NTEventLogAppender is supported on. Could someone please supply such a
list?
I am specifically interested in whether Windows Server 2008 64 bit is
supported.
Thanks,
Mark
Hi Mark,
Last time I faced the same question myself (within the last 6 months) I was
unable to find a pre-compiled 64-bit DLL for NTEventLogAppender. JNI will
not load/link the 32-bit one from a 64-bit JVM.
I've started my own library bridging to java.util.logging or log4j, based on
HOWTOs I
\system32. It works well when I use
org.apache.log4j.DailyRollingFileAppender as appender in the configuration
file, I can see the new entry logged in the log file. but after I changed to
org.apache.log4j.nt.NTEventLogAppender, I got the error:
java.lang.UnsatisfiedLinkError: NTEventLogAppender
THANKS A LOT
I replaced NTEventLogAppender.dll and it worked fine! The dll was not
working properly.
Thanks again for your help!
2007/3/19, Curt Arnold [EMAIL PROTECTED]:
On Mar 19, 2007, at 10:14 AM, Ruben Gonzalez wrote:
I cannot update the dll and the jar file because it's a
Hi everyone!
I'm new to log4j and I'm having the following problem:
My application reads the properties file, but I get this:
*
java.lang.UnsatisfiedLinkError: register EventSource
*
Line codes are:
ClassLoader loader = Thread.currentThread().getContextClassLoader();
URL webPropsURL =
if the problem
still occurs with the last release candidate (http://
people.apache.org/builds/logging/log4j/1.2.15/).
It would be also good if you could test use of NTEventLogAppender
outside of Tomcat.
-
To unsubscribe
On Mar 19, 2007, at 10:14 AM, Ruben Gonzalez wrote:
I cannot update the dll and the jar file because it's a requirement
of the
application.
It has to work with log4j-1.2.8.
Thanks again! Any idea?
I've looked at the export table of both the NTEventLogAppender.dll
shipped with log4j
: Tuesday, January 02, 2007 12:49 AM
To: CHANG Shuh
Subject: NTEventLogAppender with missing description source
for Windows Server 2003
http://msdn2.microsoft.com/en-us/library/aa363652.aspx
From what I read of the steps you took, it seems like you did
it all right. You used mc.exe
]
Sent: Wednesday, December 13, 2006 2:14 PM
To: Log4J Users List
Subject: Re: NTEventLogAppender with missing description
source for Windows Server 2003
I believe that you misinterpreted my response. The log4j
package does include all files necessary to rebuild
NTEventLogAppender.dll
Hi Emilie,
Thanks for your inquiry. Please keep all inquiries on the log4j-user
list.
No, I have not heard much back to resolve this issue. I am hoping that
someone who knows the answer could help out.
Basically, the NTEventLogAppender works to capture the log information
in the Event Viewer
On Dec 13, 2006, at 10:43 AM, CHANG Shuh wrote:
Hi Emilie,
Thanks for your inquiry. Please keep all inquiries on the log4j-user
list.
No, I have not heard much back to resolve this issue. I am hoping that
someone who knows the answer could help out.
Basically, the NTEventLogAppender works
]
Sent: Tuesday, November 21, 2006 6:22 PM
To: log4j-user@logging.apache.org
Subject: NTEventLogAppender with missing description source for Windows
Server 2003
Hi,
I am using logging-log4j-1.2.14 to log data with great success for various
log4j appenders:
1. RollingFileAppender for local lolg file
Sorry, I'm on the road at the moment and don't have access to my
Windows development resources. As far as I can tell from your
description the appender is working as expected. It does log the
message to the EventLog, it just has never implemented the code to
register a corresponding
-Original Message-
From: Curt Arnold [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 10:10 AM
To: Log4J Users List
Subject: Re: NTEventLogAppender with missing description source for
Windows Server 2003
Sorry, I'm on the road at the moment and don't have access to my
Windows development
I need to make a correction: I just found out that the
NTEventLogAppender.dll *does* create the default Log4j entry (or any other
source specified in the log4j.properties) in the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\So
urces registry. That's my mistake. Sorry
, for the NTEventLogAppender appender, I keep getting annoying
EventLog message in the Event Viewer:
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. You may
Hi,
I am trying to configure JBoss to use the NTEventLogAppender, to no avail.
My log4j.xml configuration is attached. I am using 1.2.8. What I am
observing is this:
- If I remove the NTEventLogAppender.dll file from the disk drive, I get
an unsatisfied link error.
- When the application starts
:22 -0400, Laurent Duperval wrote:
Hi,
I am trying to configure JBoss to use the NTEventLogAppender, to no avail.
My log4j.xml configuration is attached. I am using 1.2.8. What I am
observing is this:
- If I remove the NTEventLogAppender.dll file from the disk drive, I get
an unsatisfied
to the
NTEventLogAppender.
Any help is greatly welcomed,
L
--
Prenez la parole en public en étant Speak to an audience while being
moins nerveux et plus convaincant! less nervous and more convincing!
Éveillez l'orateur en vous!Bring out the speaker in you
I Really appreciate your reply. I will try it today definitely.
Thanks and Best Regards,
Amit Pathak
-Original Message-
From: Bender Heri [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 24, 2006 8:57 PM
To: Log4J Users List
Subject: RE: NTEventLogAppender Usage for Custom Event Log
Hi,
I am using log4j in a project. I wish to use it for sending my logs to
some Custom Event Log instead of sending it by default to the
Application log. Can anyone help in this regards.
Thanks and Best Regards,
Amit Pathak
Thanks for replying. I am already using NTEventLogAppender for logging
to Event logs. But the problem is that by default all my logs appear in
Application Event log and I want to send my logs to a Custom created
Event log of my own. Can you help in this regards ?
Thanks and Best Regards,
Amit
24, 2006 3:56 PM
To: Log4J Users List
Subject: RE: NTEventLogAppender Usage for Custom Event Log Reporting
Thanks for replying. I am already using NTEventLogAppender for logging
to Event logs. But the problem is that by default all my logs
appear in
Application Event log and I want to send
I have set up a configuration file using Log4j so that errors are logged
to Windows Event Viewer using NTEventLogAppender.
In Windows Event Viewer the categories are currently being recorded as
10001,20001,30001 etc where 10001 represents debug, 20001 represents
info, 30001 represents warn
I am trying to alter a configuration file that is currently logging
errors in our system to relevant log files. I want the errors to also be
sent to Windows Event Viewer. This is the extra code that I have added,
following the syntax of the code that is already there and working.
However my extra
, 2005 4:26 PM
To: Log4J Users List
Subject: NTEventLogAppender
I am trying to alter a configuration file that is currently logging
errors in our system to relevant log files. I want the errors
to also be
sent to Windows Event Viewer. This is the extra code that I
have added,
following
]
Sent: Monday, September 06, 2004 08:53
To: [EMAIL PROTECTED]
Subject: NTEventLogAppender, soon to be removed
Just for your information,
NTEventLogAppender will be removed soon unless someone volunteers to
continue its development and maintenance.
--
Ceki Gülcü
For log4j
32 matches
Mail list logo