How can I see LOGV content in 'adb logcat'

by Meryl Silverburgh » Tue, 07 Apr 2009 03:57:39 GMT


Sponsored Links
 Hi,

I put calls to LOGV() in my cpp file in WebKit code in andorid, but I
don't see any log statements when I run 'adb logcat' in another shell.
But as soon as I change it to LOGE(), i see them.
Can you please tell me how can I see the log content of LOGV?

Thank you.

--~--~---------~--~----~------------~-------~--~----~



How can I see LOGV content in 'adb logcat'

by fadden » Tue, 07 Apr 2009 04:47:09 GMT


 On Apr 6, 12:57pm, Meryl Silverburgh <silverburgh.me...@gmail.com>



LOGV is compiled out of native code in "release" builds; see
LOG_NDEBUG in system/core/include/cutils/log.h.

You probably don't want to do a "debug" build on a device, so you can
either mess with log.h, or just use LOGD instead of LOGV in your code.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. ALSA BOOTUP ERROR !!!

Hi All,

     I have built android filesystem with ALSA downloaded from git, I
changed BoardConfig.mk to Then turn on BOARD_USES_ALSA_AUDIO := true
andBUILD_WITH_ALSA_UTILS := true, Code got successfully compiled , but when
ported I am getting this message at bootup , from where it is not going
further, I am unable to see android screen: Kindly provide some pointers on
this issue,

Error Log :

W/AudioSystem( 1714): AudioFlinger not published, waiting...
I/ServiceManager( 1714): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1714): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1714): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1714): Waiting for sevice media.audio_flinger...
I/ServiceManager( 1714): Waiting for sevice media.audio_flinger...
I/        ( 1848): ServiceManager: 0xac38
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:1589:(snd_config_load1)
_toplevel_:10:1:Unexpected char
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:2850:(snd_config_hook_load)
/etc/asound.conf may be old or corrupted: considt
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:2714:(snd_config_hooks_call)
function snd_config_hook_load returned error: It
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:3079:(snd_config_update_r)
hooks failed, removing configuration
E/AudioHardwareALSA( 1848): Unable to attach mixer to device
AndroidPlayback: Invalid argument
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:1589:(snd_config_load1)
_toplevel_:10:1:Unexpected char
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:2850:(snd_config_hook_load)
/etc/asound.conf may be old or corrupted: considt
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:2714:(snd_config_hooks_call)
function snd_config_hook_load returned error: It
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:3079:(snd_config_update_r)
hooks failed, removing configuration
E/AudioHardwareALSA( 1848): Unable to attach mixer to device default:
Invalid argument
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:1589:(snd_config_load1)
_toplevel_:10:1:Unexpected char
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:2850:(snd_config_hook_load)
/etc/asound.conf may be old or corrupted: considt
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:2714:(snd_config_hooks_call)
function snd_config_hook_load returned error: It
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:3079:(snd_config_update_r)
hooks failed, removing configuration
E/AudioHardwareALSA( 1848): Unable to attach mixer to device AndroidRecord:
Invalid argument
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:1589:(snd_config_load1)
_toplevel_:10:1:Unexpected char
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:2850:(snd_config_hook_load)
/etc/asound.conf may be old or corrupted: considt
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:2714:(snd_config_hooks_call)
function snd_config_hook_load returned error: It
E/ALSALib ( 1848): external/alsa-lib/src/conf.c:3079:(snd_config_update_r)
hooks failed, removing configuration
E/AudioHardwareALSA( 1848): Unable to attach mixer to device default:
Invalid argument



-- 
Best Regards,
Rajesh N

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. TimerTask and Views

Is it a no-no to try to update a View from a TimerTask? My initial
experiments indicate it doesn't work. Is there a way to make it work?
--~--~---------~--~----~------------~-------~--~----~

3. remove drop icon in expandablelist

4. play sound issue

5. Query of building standalone toolchain

6. emulator: warning: opening audio output failed

7. Floating View