summaryrefslogtreecommitdiffstats
path: root/logcat/logcatd.rc
Commit message (Collapse)AuthorAgeFilesLines
* resolve merge conflicts of 5f6dbd9 to nyc-mr1-dev-plus-aospMark Salyzyn2016-08-081-2/+2
|\ | | | | | | Change-Id: Ia85ca9ea4c38d270229af394c351b7b31ea2057e
| * logcatd: Add --id=${ro.build.id}Mark Salyzyn2016-08-081-2/+2
| | | | | | | | | | | | | | | | If a new build lands, this will automatically clear out old logs in /data/misc/logd/ that may no longer be relevant. Bug: 30591615 Change-Id: Iecf61bb2a4928ce4b2e8cc6a3b122b7ae598d268
| * logcatd: trampoline persist.logd.logpersistd to logd.logpersistdMark Salyzyn2016-07-081-6/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Best practices so that device can set logd.logpersistd properties. Values can be overriden with trampolines for persist.logd.logpersistd values except as designed for empty content to keep out of the way. This allows us to set logd.logpersistd* for a non-persistent collection that does not survive a reboot, and to use persist.logd.logpersistd* for persistent collection that does survive a reboot. Added logd.logpersistd.enable to gate when logpersist service can be run allowing the properties to be adjusted safely prior to this state as is the case for device property. NB: /init will complain when trying to trampoline an empty property, this is acceptable for functionality, but may be considered annoying from the logging perspective. Bug: 28936216 Bug: 29831823 Change-Id: I97317e8eedfae4daa8e3ef39e64e7c5c23d8b573
| * logcatd: add stop and clear actionsMark Salyzyn2016-06-101-0/+10
| | | | | | | | | | | | | | | | - add stop and clear (and stop) actions to logcatd.rc - use stop and clear actions in logpersist script Bug: 28936216 Change-Id: Id05118fb51e40609fd7b3a934cf9302f67ef6d1d
| * logpersist: incorporate size and buffer tunablesMark Salyzyn2016-04-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add hidden -n and -b flags that propagate to the underlying logcat command. Publish aliases in help as --size and --buffer. - Add --clear for start command so it clears before starting - shell script bloating up to deal with option validation and provide ERROR: and WARNING: advice. ToDo: - Deprecate shell script and replace with Eng and Userdebug only Developer Options, before it becomes too powerful or bloated to force us to rewrite an expendable like this into C++. Bug: 28120456 Change-Id: I0dff8acaa1e5c929454760cfa2801924956bc25d
* | logd: logcat -L takes longer causing vold to timeout.Ruchi Kandoi2016-08-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | Temporary fix to prevent device from getting stuck at boot. Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com> Bug: 28788401 Bug: 30041146 Bug: 30612424 Bug: 30630936 Change-Id: Ie4246fc3c9eb7a3af2cb909546811c85997515da
* | logcatd: trampoline persist.logd.logpersistd to logd.logpersistdMark Salyzyn2016-07-191-6/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry pick from 2591d483c83a09eb8689e6e7869b4ac0bfe418db) Best practices so that device can set logd.logpersistd properties. Values can be overriden with trampolines for persist.logd.logpersistd values except as designed for empty content to keep out of the way. This allows us to set logd.logpersistd* for a non-persistent collection that does not survive a reboot, and to use persist.logd.logpersistd* for persistent collection that does survive a reboot. Added logd.logpersistd.enable to gate when logpersist service can be run allowing the properties to be adjusted safely prior to this state as is the case for device property. NB: /init will complain when trying to trampoline an empty property, this is acceptable for functionality, but may be considered annoying from the logging perspective. Bug: 28788401 Bug: 28813587 Bug: 28936216 Bug: 29831823 Change-Id: I97317e8eedfae4daa8e3ef39e64e7c5c23d8b573
* | logcatd: add stop and clear actionsMark Salyzyn2016-07-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | (cherry pick from commit cd5118bf1edc257cfd4ff02ea1145b5d7b3153d9) - add stop and clear (and stop) actions to logcatd.rc - use stop and clear actions in logpersist script Bug: 28788401 Bug: 28813587 Bug: 28936216 Change-Id: Id05118fb51e40609fd7b3a934cf9302f67ef6d1d
* | logpersist: incorporate size and buffer tunablesMark Salyzyn2016-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add hidden -n and -b flags that propagate to the underlying logcat command. Publish aliases in help as --size and --buffer. - Add --clear for start command so it clears before starting - shell script bloating up to deal with option validation and provide ERROR: and WARNING: advice. ToDo: - Deprecate shell script and replace with Eng and Userdebug only Developer Options, before it becomes too powerful or bloated to force us to rewrite an expendable like this into C++. Bug: 28120456 Bug: 28788401 Change-Id: I0dff8acaa1e5c929454760cfa2801924956bc25d
* | Revert "logd: logcat -L takes longer causing vold to timeout."Thierry Strudel2016-07-131-1/+1
| | | | | | | | | | | | | | This reverts commit c1b26acae295034e7aab2414ba50047cc889cafe. Bug: 28788401 Change-Id: I415530deb7587d1068f42971762b418b0524663c
* | logd: logcat -L takes longer causing vold to timeout.Ruchi Kandoi2016-06-141-1/+1
|/ | | | | | | | Temporary fix to prevent device from getting stuck at boot. Bug: 28788401 Change-Id: Ie4246fc3c9eb7a3af2cb909546811c85997515da Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
* am 6e78a2c5: am 6eec17e3: Merge "logcatd: up size from 16MB to 256MB"Mark Salyzyn2015-09-221-2/+2
|\ | | | | | | | | * commit '6e78a2c5b6a052043b01ba36de21e7aec49c8735': logcatd: up size from 16MB to 256MB
| * logcatd: up size from 16MB to 256MBMark Salyzyn2015-09-211-2/+2
| | | | | | | | Change-Id: Ic151d42151efdb3103470ba46c626a800cf29125
* | resolved conflicts for 5caca3dd to mnc-dr-dev-plus-aospTom Cherry2015-09-211-0/+1
|/ | | | Change-Id: I773e514a8232b77cdd566dc36c9efc4e15f206f0
* bundle init.rc contents with its serviceTom Cherry2015-08-211-0/+13
Bug: 23186545 Change-Id: I52616b8ab1165fdef716f9b8f958665f2308c12e