Maxthecat
Maxthecat

Reputation: 1328

How can I view LOGVV?

Looking at the code for the Dalvik VM in the AOSP, and I see a bunch of logging calls with "LOGVV". How can I enable logcat to see this? Is it just "adb logcat *:VV"? Or, do I need to get the log from someplace else?

Upvotes: 1

Views: 621

Answers (1)

fadden
fadden

Reputation: 52303

It requires recompilation of the Dalvik VM. It's enabled with the VERY_VERBOSE_LOG switch. See Common.h for the implementation.

The switch makes LOGVV equivalent to ALOGV. By default, ALOGV is not compiled in either, so you will need to define LOG_NDEBUG 0 as well.

The log calls are intended for debugging the VM, so it's assumed that rebuilding the VM is easy for anyone who wants to enable them.

Upvotes: 3

Related Questions