candrews / log4jdbc-spring-boot-starter

Starter for using Log4jdbc with Spring Boot
Apache License 2.0
76 stars 17 forks source link

Add additional property to copy in Log4jdbcBeanPostProcessor #7

Closed jonseah closed 6 years ago

jonseah commented 6 years ago

Hi,

On http://log4jdbc.brunorozendo.com it explains to set the option log4jdbc.spylogdelegator.name if you use slf4j

log4jdbc.spylogdelegator.name=net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator

This property name is missing from Log4jdbcBeanPostProcessor

jonseah commented 6 years ago

add pull request 1ce99df

jonseah commented 6 years ago

Last line of the postConstruct in Log4jdbcBeanPostProcessor already does it.