I try to send logs to the Event Viewer of Windows Server 2003.
Here is the process i followed :
First i put the NTEventLogAppender.dll find with the log4j archive in C:\WINDOWS\system32
Second, i edited the file : jboss-logging.xml
I added this :
<log4j-appender name="NTLOG" class="org.apache.log4j.nt.NTEventLogAppender">
<pattern-formatter pattern="%p [%c] - [%d] %m%n"/>
and that :
<logger category="com.myapp" additivity="false">
<level name="WARN" />
But nothing is send to the Event Viewer. At least, i can't see anything in the event viewer window.
Here some other intel : when i look into regedit, i can see that the dll is correctly seen, and it appears as Log4j.
What am i doing wrong ?
Thank for your answer.
Retrieving data ...