[slf4j-dev] [Bug 66] New: Using log4j-over-slf4j, log statement output as org.apache.log4j.Category

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Wed Nov 14 09:16:17 CET 2007


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

           Summary: Using log4j-over-slf4j, log statement output as
                    org.apache.log4j.Category
           Product: SLF4J
           Version: 1.4.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: log4j-over-slf4j
        AssignedTo: dev at slf4j.org
        ReportedBy: franck.routier at axege.com


I have a library that uses log4j.
In an attempt to unify my logging configuration, I tried to replace log4j.jar
and log4j.xml with log4j-over-slf4j and logback.xml. Used slf4j implementation
is logback.

Versions are 1.4.3 for slf4j and 0.9.8 for logback.

Settings in logback.xml are taken into account and I can set for  example the
log level for the library in this file. Fine.

But the log output for the said libray now has the following form :

logback: [INFO ] - org.apache.log4j.Category   - some logging stuff here

So I am losing the name of the class that generates the log...


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



More information about the slf4j-dev mailing list