[slf4j-dev] [Bug 170] New: Add log4j's NDC support in log4j-over-slf4j

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Sat Mar 6 01:48:07 CET 2010


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

           Summary: Add log4j's NDC support in log4j-over-slf4j
           Product: SLF4J
           Version: 1.5.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: log4j-over-slf4j
        AssignedTo: slf4j-dev at qos.ch
        ReportedBy: hmalphettes at intalio.com


It would be nice to support log4j's NDC class.
For example http://opensaml.org depends on that.

It is a straight forward port that simply delegate all log4j's NDC calls to
slf4j's NDC static methods.

This commit
http://github.com/hmalphettes/slf4j/commit/2d30df3bd74e920d505308b322579d6fbbb4e1ab
Does add such support and behaves well with opensaml.

I also found a missing Import-Package in log4j-over-slf4j's MANIFEST for OSGi.
org.apache.log4j.Log4jLoggerFactory requires org.slf4j.helpers.Util

Cheers,
Hugues.


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