title: Log4J NTEventLogAppender DLL not found
body: <p>Hy ppl,</p>
  
  <p>I'm having a problem trying to use Log4J's NTEventLogAppender.</p>
  
  <p>I've set my Log4J properties like this:</p>
  
  <pre><code>log4j.rootLogger=DEBUG, CA, NTEventLog 
  
  
      #Console Appender 
      log4j.appender.CA=org.apache.log4j.ConsoleAppender 
      log4j.appender.CA.layout=org.apache.log4j.PatternLayout 
      log4j.appender.CA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n 
  
      #File Appender 
      log4j.appender.FA=org.apache.log4j.FileAppender 
      log4j.appender.FA.File=sample.log 
      log4j.appender.FA.layout=org.apache.log4j.PatternLayout 
      log4j.appender.FA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
  
      #Event Log Appender
      log4j.appender.NTEventLog=org.apache.log4j.nt.NTEventLogAppender
      log4j.appender.NTEventLog.source=ESB Web Services
  
  
      # Set the logger level of File Appender to WARN 
      log4j.appender.FA.Threshold = WARN
  </code></pre>
  
  <p>Following the advice <a href="http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/nt/NTEventLogAppender.html" rel="nofollow">here</a>, I've placed NTEventLogAppender.amd64.dll file on my System32 Folder, but when I try to instance a class that uses a Logger I get this exception:</p>
  
  <p><strong>Exception in thread "main" java.lang.UnsatisfiedLinkError: NTEventLogAppender (Not found in java.library.path)</strong></p>
  
  <p>What's wrong here?</p>