I had configured my application to use slf4j with log4j, but some how JBoss logger is being selected over slf4j:
org.jboss.logging [DEBUG] Logging Provider: org.jboss.logging.Log4jLoggerProvider.
My application uses spring and hibernate and as I understand it, hibernate now uses JBoss logger instead of slf4j. Is there away for me to force the use of slf4j? Or better yet, make my logging calls API agnostic? As it stands now, hibernate and spring log correctly, but my application specific logging is ignored since it uses the slf4j API.
UPDATE: Logging related jars (which are managed by maven) include:
- slf4j-api-1.6.1
- slf4j-parent-1.6.1
- slf4j-simple-1.6.1
- slf4j-log4j12-1.6.1
- jboss-logging-3.1.0.CR2
- log4j-1.2.12
Thanks.