From 290a92d7bba59bd5a1849e705401ebd1ed168942 Mon Sep 17 00:00:00 2001 From: Daeho Jeong Date: Tue, 26 Sep 2023 13:30:24 -0700 Subject: [PATCH] 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 --- device.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/device.mk b/device.mk index 2c73565f..fef49dc2 100644 --- a/device.mk +++ b/device.mk @@ -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