get more logcat files with similar disk usage for zuma

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: I8208e40092c834ea3a2145d40ed7e384776ad018
Signed-off-by: Daeho Jeong <daehojeong@google.com>
This commit is contained in:
Daeho Jeong
2023-09-26 13:30:24 -07:00
parent 22eae6d60c
commit 290a92d7bb

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 for zuma
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