[slf4j-dev] [Bug 267] New: IllegalStateException when logging to Level.ALL

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Tue Jul 17 09:04:28 CEST 2012


http://bugzilla.slf4j.org/show_bug.cgi?id=267

           Summary: IllegalStateException when logging to Level.ALL
           Product: SLF4J
           Version: 1.6.x
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: log4j-over-slf4j
        AssignedTo: slf4j-dev at qos.ch
        ReportedBy: bbrandl at atoss-csd.de


We are trying to migrate from log4j to slf4j. During the process we use the
log4j-over-slf4j bridge. In this bridge following error occurs:

If an entry is logged with priotory Level.ALL, 
  logger.log( Level.ALL, "log entry to all" );,  
the follwing exception is thrown:

Exception in thread "Thread-6" java.lang.IllegalStateException: Unknown
Priority ALL
    at org.apache.log4j.Category.priorityToLevelInt(Category.java:325)
    at org.apache.log4j.Category.log(Category.java:305)

-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list