[slf4j-dev] [Bug 173] slf4j android: Android throws an IllegalArgumentException when Log Tag length exceeds 23 characters

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue Mar 23 16:45:08 CET 2010


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





--- Comment #7 from Thorsten <thorsten.Moeller at unibas.ch>  2010-03-23 16:45:07 ---
Thanks for pointing out the problem of creating a different logger for all the
tags with the same first 23 chars. I agree with you to do the check in the
factory rather than at instantiation time of a logger. However, the patch you
submitted has the famous double checked locking problem [1]: internalLogger is
a static singleton variable. I have modified (and simplified) your patch and
will push it to the SLf4J Android branch soon.


[1] http://www.ibm.com/developerworks/java/library/j-dcl.html


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