[jboss-jira] [JBoss JIRA] (JBLOGGING-74) Log4jLogger formats messages before checking for the enabled log level

David Lloyd (Resolved) (JIRA) jira-events at lists.jboss.org
Wed Nov 9 12:15:46 EST 2011


     [ https://issues.jboss.org/browse/JBLOGGING-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd resolved JBLOGGING-74.
----------------------------------

    Resolution: Done

    
> Log4jLogger formats messages before checking for the enabled log level
> ----------------------------------------------------------------------
>
>                 Key: JBLOGGING-74
>                 URL: https://issues.jboss.org/browse/JBLOGGING-74
>             Project: JBoss Logging
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.1.0.Beta3
>            Reporter: Sanne Grinovero
>            Assignee: David Lloyd
>             Fix For: 3.1.0.Beta4
>
>
> Both the methods
> {code}
> org.jboss.logging.Log4jLogger.doLog(Level, String, Object, Object[], Throwable)
> org.jboss.logging.Log4jLogger.doLogf(Level, String, String, Object[], Throwable)
> {code}
> are formatting the message before translating and checking for the log level - including debug and trace.
> This mistake seems to happen only in the Log4jLogger

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list