# If you use SLF4J. First, you need to tell log4jdbc-log4j2 that you want to use the SLF4J logger log4jdbc.spylogdelegator.name=net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator