[jboss-jira] [JBoss JIRA] Created: (JBLOGGING-20) JDK loggign isLoggable(Level.FINEST) returns false with Log4J backend

Ondrej Medek (JIRA) jira-events at lists.jboss.org
Wed Jun 24 05:30:56 EDT 2009


JDK loggign isLoggable(Level.FINEST) returns false with Log4J backend
---------------------------------------------------------------------

                 Key: JBLOGGING-20
                 URL: https://jira.jboss.org/jira/browse/JBLOGGING-20
             Project: JBoss Logging
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jboss-logbridge
         Environment: JBoss 5.1.0, JDK 1.6u13
            Reporter: Ondrej Medek
            Assignee: Dimitris Andreadis


I have code using JDK logging like:

if (LOG.isLoggable(Level.FINEST)) {
  LOG.finest("added into list: " + something);
}

I have no log. When I use just

LOG.finest("added into list: " + something);

I got a log in the log file.

I use JBoss with Log4J. It is configured to log ALL stuff.

-- 
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