I am trying to use log4j NT Event logging
I did this in the log4j.xml in server\default\config
Running on win2k server
Do you know what I am doing wrong.
I also added the NTEventLogAppender.dll to my
java.library.path
Hmmmm...
If anyone can give me a hint I would appreciate it.
Thanks
Ron
<!-- -->
<!-- Rollover at midnight each day -->
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
<!-- Rollover at the top of each hour
<param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
-->
<!-- The default pattern: Date Priority [Category] Message\n -->
<!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
-->
Then added
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
<appender-ref ref="NTEVENT"/>
Add it to c:\windows\system32 or where ever you have dlls.
This is in the executable path not the classpath.
Regards,
Adrian