[logback-user] DB Appender with H2

Klaus Teller klaus.teller at gmx.net
Thu Jan 28 05:09:11 CET 2010


Hi,

Have anybody succeeded in using H2 as the underlying database for the logback databse appender? I'm getting the following exception and would very much appreciate  any input.

Gregoire.

-ERROR in ch.qos.logback.core.joran.spi.Interpreter at 43:14 - RuntimeException in Action for tag [appender] java.lang.IllegalStateException: DBAppender cannot function if the JDBC driver does not support getGeneratedKeys method *and* without a specific SQL dialect
    at java.lang.IllegalStateException: DBAppender cannot function if the JDBC driver does not support getGeneratedKeys method *and* without a specific SQL dialect
    at     at ch.qos.logback.core.db.DBAppenderBase.start(DBAppenderBase.java:59)
    at     at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:92)
    at     at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:307)
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


More information about the Logback-user mailing list