[slf4j-dev] [Bug 58] Improve MDC API - get/set/remove
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Mon Aug 20 21:35:39 CEST 2007
http://bugzilla.slf4j.org/show_bug.cgi?id=58
------- Comment #1 from listid at qos.ch 2007-08-20 21:35 -------
Fixed in SVN as follows.
MDC.put, MDC.get and MDC.remove cannot take a null key.
In MDC.put(key, value), 'val' can be null only if the underlying MDC
implementation supports it. Log4j does not accept null values for the 'val'
parameter, whereas logback does accept null for the 'val' parameter.
MDC.remove method does nothing if there is no previous value associated with
'key'.
--
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