3 Replies Latest reply on Feb 16, 2009 10:37 AM by Peter Johnson

    Log4j JDBCAppender

    Steven P. Goldsmith Newbie

      Has anyone got the JDBCAppender for Log4j to work within JBoss? Here's what I added to log4j.xml, but it appears to be ignored:






      <param name="sql" value=" INSERT INTO jbosslog (created, priority, message, username) VALUES (to_date('%d{yyyy-MM-dd HH:mm:ss}','YYYY-MM-DD HH24:MI:SS'), '%p', '%m', '%X{username}' "/>