[slf4j-dev] [Bug 15] SLF4JLog 'logger' field nulled by Tomcat 5.5.15

bugzilla-daemon at gil.qos.ch bugzilla-daemon at gil.qos.ch
Fri Feb 17 04:52:39 CET 2006


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





------- Additional Comments From matt.invoices at llmj.com  2006-02-17 04:52 -------
I submitted a patch to the Tomcat people.  It has apparently been accepted (in a
snippy sort of way--"your logging setup is bad, but I'll accept your 'fix'
anyway") and will presumably be incorporated in a future Tomcat release.

Tomcat's classloader will still rudely null out private fields on objects to
which 'static final' references exist, but it will only do so if the referred
objects themselves were loaded by a webapp classloader or a child thereof.  In
my testing, this fixes the SLF4J issue.

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