title: How to import 'org.apache.log4j.jdbcplus.JDBCAppender' jar to Grails project?
body: <p>I'm trying to use a custom jdbcappender in my Grails project. I downloaded the jar, added it in the lib folder and refresh the dependencies. When i used the custom appender got this error:</p>
  
  <blockquote>
    <p>No such property: URL for class: org.apache.log4j.jdbcplus.JDBCAppender</p>
  </blockquote>
  
  <p>In this code:</p>
  
  <pre><code>appender new org.apache.log4j.jdbcplus.JDBCAppender(
          name: "stacktrace",
          URL: "jdbc:postgresql://localhost:5432/test",
          user: "test",
          password: "test",
          dbclass: "org.postgresql.Driver",
          sql: "INSERT INTO audit VALUES('@MSG@','@THROWABLE@');"
      )
  </code></pre>
  
  <p>Is the error in the jar import or in the appender configuration?</p>
  
  <p>Best Regards,</p>
  
  <p>André Cruz.</p>