Tom Cherry | 20391b1 | 2015-08-14 13:02:51 -0700 | [diff] [blame] | 1 | on 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 Salyzyn | 3ffbdb9 | 2015-09-21 13:51:14 -0700 | [diff] [blame] | 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 |
Tom Cherry | 20391b1 | 2015-08-14 13:02:51 -0700 | [diff] [blame] | 6 | start logcatd |
| 7 | |
Mark Salyzyn | 3ffbdb9 | 2015-09-21 13:51:14 -0700 | [diff] [blame] | 8 | service logcatd /system/bin/logcat -b all -v threadtime -v usec -v printable -D -f /data/misc/logd/logcat -r 1024 -n 256 |
Tom Cherry | 20391b1 | 2015-08-14 13:02:51 -0700 | [diff] [blame] | 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 |