Android logcat only logs the information layer on a real device. Unable to receive debug messages as well as unhandled exceptions

I have been developing for android for some time and so far I have not had problems with logcat. So far, I have a new development phone, Huawei Y300 (Y300-0100), and logcat has no messages from the DEBUG level. This is a problem because I am not getting Exception stack trace fingerprints. I have to use an emulator for this, you understand that it is annoying.

So far I have figured this out:

from

Log.v("TEST VERBOSE", "verbose level"); Log.d("TEST DEBUG", "debug level"); Log.i("TEST INFO", "info level"); Log.w("TEST WARN", "warn level"); Log.e("TEST ERROR", "error level"); Log.wtf("TEXT WTF", "?? level"); 

Only this was printed:

  INFO/TEST INFO(21224): info level WARN/TEST WARN(21224): warn level ERROR/TEST ERROR(21224): error level 

In the emulator, of course, they are all printed.
And there were no problems on previous phones (Huawei G300 and ZTE Blade).

I searched for a solution for a while and did not find it.

+7
android logging android-hardware logcat
source share
1 answer

Try following these instructions . I have the same phone, and I had the same problems until I tried to do this.

+7
source share

All Articles