get more logcat files with similar disk usage for zumapro

Increase the number of logcat files to 60 and enable file compression to
save disk usage at the same time.

Bug: 295175795
Test: check logcat files
Change-Id: I1adfccd538df515b2f68c488d72c3f09b4e6ee1d
Signed-off-by: Daeho Jeong <daehojeong@google.com>
This commit is contained in:
Daeho Jeong 2023-09-19 14:14:45 -07:00
parent 4d92d85daa
commit 7446467475

View file

@ -119,9 +119,13 @@ ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += \
ro.logd.size=1M
# b/114766334: persist all logs by default rotating on 30 files of 1MiB
# change to 60 files from zumapro
PRODUCT_PROPERTY_OVERRIDES += \
logd.logpersistd=logcatd \
logd.logpersistd.size=30
logd.logpersistd.size=60
PRODUCT_PRODUCT_PROPERTIES += \
ro.logcat.compress=true
endif
# From system.property