You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
733 B

on post-fs-data
mkdir /data/log 0771 system system
mkdir /data/log/logcat 0770 system system
mkdir /data/log/adsp 0777 system system
on property:persist.sys.logcat.enable=true
start logcat_service
start logcat_service_kmsg
on property:persist.sys.logcat.enable=false
stop logcat_service
stop logcat_service_kmsg
service logcat_service /system/bin/logcat -n 32 -v threadtime -r 4096 -f /data/log/logcat/logcat.txt
class late_start
user system
group root system log
seclabel u:r:shell:s0
service logcat_service_kmsg /system/bin/logcat -n 4 -v threadtime -r 4096 -f /data/log/logcat/kern.txt -b kernel
class late_start
user system
group root system log
seclabel u:r:shell:s0