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

Sanne Grinovero (Updated) (JIRA) jira-events at lists.jboss.org
Thu Nov 3 20:33:45 EDT 2011


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

Sanne Grinovero updated JBLOGGING-74:
-------------------------------------

    Summary: Log4jLogger formats messages before checking for the enabled log level  (was: Log4jLogger.doLogf and doLog format the message before checking for the enabled log level)

    
> 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