Hi Thorsten,
Done.
On 12/03/2010 3:18 PM, Thorsten Möller wrote:
Hi Ceki,
would it be possible to create a new component "slf4j-android" in
Bugzilla so that future bugs can be scoped appropriately.
Thanks,
Thorsten
On Friday, March 12, 2010 1:55 PM [GMT+1=CET],
[email protected]<[email protected]> wrote (with
possible deletions):
http://bugzilla.slf4j.org/show_bug.cgi?id=173
Summary: slf4j android: Android throws an
IllegalArgumentException when Log Tag length
exceeds 23 characters
Product: SLF4J
Version: 1.5.x
Platform: Other
OS/Version: other
Status: NEW
Severity: blocker
Priority: P1
Component: Implementations
AssignedTo: [email protected]
ReportedBy: [email protected]
I don't know if the 23-characters long tag limitation has been
removed in later releases, but, unfortunately, Android 1.1 has it. I
think the tag length should be checked and the tag eventually trimmed
in order to avoid incurring in this exception without having to
change the application logging code.
The check is performed into the native method
android.util.Log.isLoggable()
To reproduce the problem in Android 1.1:
String ALLOWED_TAG = "abcdefghijklmnopqrstuvw";
String TOO_LONG_TAG = "abcdefghijklmnopqrstuvwxyz";
Log.i(ALLOWED_TAG, "blabla");
Log.i(TOO_LONG_TAG, "blabla");
_______________________________________________
slf4j-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-dev
_______________________________________________
slf4j-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-dev