[jboss-jira] [JBoss JIRA] Commented: (JBAS-5936) Wrong logging information is shown for components using slf4j (e.g. Hibernate)
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Wed Sep 10 02:12:38 EDT 2008
[ https://jira.jboss.org/jira/browse/JBAS-5936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12428813#action_12428813 ]
Carlo de Wolf commented on JBAS-5936:
-------------------------------------
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.
> Wrong logging information is shown for components using slf4j (e.g. Hibernate)
> ------------------------------------------------------------------------------
>
> Key: JBAS-5936
> URL: https://jira.jboss.org/jira/browse/JBAS-5936
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Logging
> Reporter: Carlo de Wolf
> Assignee: Scott M Stark
> Priority: Critical
> Fix For: JBossAS-5.0.0.GA
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list