forked from crdroidandroid/android_system_core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logcatd: Add new properties control logcat file size and file count.
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 <[email protected]> Signed-off-by: Duan, YayongX <[email protected]>
- Loading branch information
1 parent
9c7a39e
commit 00813a5
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters