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

Martin Vysny <vy...@baka.sk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vy...@baka.sk

--- Comment #1 from Martin Vysny <vy...@baka.sk> ---
The problem is that slf4j honors Android's Log.isLoggable() function, which
seems correct, but unfortunately in Android it's not. The Log.isLoggable() by
defaults returns false for debug logging. DEBUG can be configured only by
gaining developer access to the phone. So, the application itself nor the user
cannot enable debug level easily. This behavior is IMHO broken horribly and
developers are simply not using that call:

http://stackoverflow.com/questions/19984838/how-to-get-slf4j-android-to-honor-logcat-logging-level

I myself have found a workaround by using the slf4j-android 1.6.1-RC1. So, I
would vote for not calling Log.isLoggable() at least for Logger.debug(); I
would however recommend to not Log.isLoggable() entirely. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
slf4j-dev mailing list
slf4j-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-dev

Reply via email to