1 Reply Latest reply on Sep 12, 2002 1:15 PM by Adrian Brock

    Please help Configure log4j.xml with NTEventLogAppender

    Ron Jawanda Novice

      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"/>