Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b33d35c5 authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by android-build-merger
Browse files

logd: logcat -L takes longer causing vold to timeout. am: 90a3f81c am: 366513fc

am: dc4c1654

Change-Id: I4ca62fd28568636aa96947de8df95fc262f85edc
parents 132a6ade dc4c1654
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -35,7 +35,8 @@ on property:logd.logpersistd.enable=true && property:logd.logpersistd=logcatd
    # all exec/services are called with umask(077), so no gain beyond 0700
    # all exec/services are called with umask(077), so no gain beyond 0700
    mkdir /data/misc/logd 0700 logd log
    mkdir /data/misc/logd 0700 logd log
    # logd for write to /data/misc/logd, log group for read from pstore (-L)
    # logd for write to /data/misc/logd, log group for read from pstore (-L)
    exec - logd log -- /system/bin/logcat -L -b ${logd.logpersistd.buffer:-all} -v threadtime -v usec -v printable -D -f /data/misc/logd/logcat -r 1024 -n ${logd.logpersistd.size:-256}
    # b/28788401 b/30041146 b/30612424
    # exec - logd log -- /system/bin/logcat -L -b ${logd.logpersistd.buffer:-all} -v threadtime -v usec -v printable -D -f /data/misc/logd/logcat -r 1024 -n ${logd.logpersistd.size:-256}
    start logcatd
    start logcatd


# stop logcatd service and clear data
# stop logcatd service and clear data