2015-08-14 22:02:51 +02:00
|
|
|
on property:persist.logd.logpersistd=logcatd
|
|
|
|
# all exec/services are called with umask(077), so no gain beyond 0700
|
|
|
|
mkdir /data/misc/logd 0700 logd log
|
|
|
|
# logd for write to /data/misc/logd, log group for read from pstore (-L)
|
2015-09-21 22:51:14 +02:00
|
|
|
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
|
2015-08-14 22:02:51 +02:00
|
|
|
start logcatd
|
|
|
|
|
2015-09-21 22:51:14 +02:00
|
|
|
service logcatd /system/bin/logcat -b all -v threadtime -v usec -v printable -D -f /data/misc/logd/logcat -r 1024 -n 256
|
2015-08-14 22:02:51 +02:00
|
|
|
class late_start
|
|
|
|
disabled
|
|
|
|
# logd for write to /data/misc/logd, log group for read from log daemon
|
|
|
|
user logd
|
|
|
|
group log
|
2015-09-21 23:25:34 +02:00
|
|
|
writepid /dev/cpuset/system-background/tasks
|