blob: 33d39ac29af2165bbf7d8d4994cd77ab7ae46466 [file] [log] [blame]
Tom Cherry20391b12015-08-14 13:02:51 -07001on 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)
Mark Salyzyn3ffbdb92015-09-21 13:51:14 -07005 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
Tom Cherry20391b12015-08-14 13:02:51 -07006 start logcatd
7
Mark Salyzyn3ffbdb92015-09-21 13:51:14 -07008service logcatd /system/bin/logcat -b all -v threadtime -v usec -v printable -D -f /data/misc/logd/logcat -r 1024 -n 256
Tom Cherry20391b12015-08-14 13:02:51 -07009 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