Android: How to change the default logging level?
android, logging
Solution
I ended up using logback-android. I will leave this question open a bit longer in case someone comes up with a better solution.
Problem
According to the documentation there are only two ways to change the default logging level from INFO to lower levels (such as DEBUG): - `setprop log.tag.<YOUR_LOG_TAG> <LEVEL>`, or - `log.tag.<YOUR_LOG_TAG>=<LEVEL>` in /data/local.prop. Is it possible to bundle the logging configuration within the application? I'm looking for the equivalent of `logging.properties` or `logback.xml`, configuration files that are bundled with the application and alter the logging behavior at load-time. The goal is to avoid manually configuring each device that the application will run on.