00813a585a
Logcatd has capability to output logs to filesystem with certain size and certain file count, however file size is not configurable, fixed as 1024 kbytes, file count is configurable, but original property name didn't match the logcat parameter well. This patch add interface rotate_kbytes and count into logcatd.rc. rotate_kbytes used to control each logcat file size. count is another alias for logd.logpersistd.size to control file number. Bug: 133362078 Test: Can use logcat -r -n with configures Change-Id: I9954c9c125a4ab4e49310986f81c734bf8ee96b3 Signed-off-by: Tian, Baofeng <baofeng.tian@intel.com> Signed-off-by: Duan, YayongX <yayongx.duan@intel.com> |
||
---|---|---|
.. | ||
tests | ||
Android.bp | ||
event.logtags | ||
logcat.cpp | ||
logcat.h | ||
logcat_main.cpp | ||
logcatd.rc | ||
logcatd_main.cpp | ||
logpersist | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE | ||
OWNERS |