Just in case you don't know how: 1st you need to change the Andoid log level using setprop on the device:
adb -e shell setprop log.tag.Main DEBUG
Then you also need to change the java logging level inside you program:
Main.logger.setLevel (java.util.logging.Level.FINER);
Last not least you need to remember that Android only allows 23 characters as logger name. Longer names will be shortened. Usually by removing the package name.
For me this is also one more reason not to use Log4J.
Keine Kommentare:
Kommentar veröffentlichen