HI,

I have tried below steps to turn on stdout/stderr log message but it
seems only stderr log message works fine, stdout message still not
output from logcat.

Below is steps:
1). adb push a local.prop file to /data
adb push local.prop /data

The content of local.prop as below:
log.redirect-stdio=true

2). The test log added to native code looks link below:

fprintf(stdout,"test stdout log\n");
fprintf(stderr,"test stderr log\n");

3). restart emulator.

We can only seek stderr log from logcat messages with below command
line.

adb logcat stderr:* stdout:* *.S

BRs
-wjjsun
2009/01/02


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to