hi all,
I found a bug at android platform.

*Please describe the problem in as much detail as possible.  Be sure
to include:*
*- Steps to reproduce the problem*
1 .
modify init.hardware.rc  (hardware is your platform hardware, such
init.goldfish.rc)
change
service logcat /system/bin/logcat -r 1000 -v long -f /local/log/logcat.log
    oneshot
to
service logcat /system/bin/logcat -r 1000 -n 2 -v long -f /local/log/logcat.log
    oneshot

because the /local/log room limited, we only need two logcat.logs
so we add a argumenet -n 2 (default is 4, right?)
2 .
run the phone

3 .
#ps | grep logcat
we will found the logcat service is not running.

*- Sample source code demonstrating the problem*
*- What you think the correct behavior should be.*
if we use the old
service logcat /system/bin/logcat -r 1000 -v long -f /local/log/logcat.log
    oneshot
the service can running.

--~--~---------~--~----~------------~-------~--~----~
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