1 Reply Latest reply on Sep 10, 2008 2:16 AM by Carlo de Wolf

    JBoss slf4j location information is wrongly logged

    Carlo de Wolf Master

      For example the following line is outputed when scanning for entities:

      14:43:38,623 DEBUG [org.hibernate.ejb.packaging.AbstractJarVisitor:112] Searching mapped entities in jar/par: vfszip:/home/carlo/work/jboss-head/build/output/jboss-5.0.0.CR2/server/cts/tmp/jsr88/web_pkg_scope.ear/web_pkg_scope_web.war/WEB-INF/classes/

      It says line 112, while it should have been line 116.

      Line 112 is where org.jboss.slf4j.JBossLoggerAdapter uses Logger to log the message. And since Log4jLoggerPlugin makes the assumption that Logger is the caller class name, you end up with that line number.