1on property:persist.logd.logpersistd=logcatd 2 # all exec/services are called with umask(077), so no gain beyond 0700 3 mkdir /data/misc/logd 0700 logd log 4 # logd for write to /data/misc/logd, log group for read from pstore (-L) 5 # exec - logd log -- /system/bin/logcat -L -b all -v threadtime -v usec -v printable -D -f /data/misc/logd/logcat -r 1024 -n 256 6 start logcatd 7 8service logcatd /system/bin/logcat -b all -v threadtime -v usec -v printable -D -f /data/misc/logd/logcat -r 1024 -n 256 9 class late_start 10 disabled 11 # logd for write to /data/misc/logd, log group for read from log daemon 12 user logd 13 group log 14 writepid /dev/cpuset/system-background/tasks 15