summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2015-05-26 16:57:13 -0500
committerMark Salyzyn2015-06-02 17:17:59 -0500
commit100658c303919d8f69c76f6f25eac376795712f0 (patch)
treeba9a4625431816f9a67a4f60899785e56f2e5941 /logd/README.property
parent17fff893c04971b519d25d52b07f51111353cba5 (diff)
downloadplatform-system-core-100658c303919d8f69c76f6f25eac376795712f0.tar.gz
platform-system-core-100658c303919d8f69c76f6f25eac376795712f0.tar.xz
platform-system-core-100658c303919d8f69c76f6f25eac376795712f0.zip
init.rc: logd: Add logpersistd (nee logcatd)
- logpersistd is defined as a thread or process in the context of the logd domain. Here we define logpersistd as logcat -f in logd domain and call it logcatd to represent its service mechanics. - Use logcatd to manage content in /data/misc/logd/ directory. - Only turn on for persist.logd.logpersistd = logcatd. - Add logpersist.start, logpersist.stop and logpersist.cat debug class executables, thus only in the eng and userdebug builds. ToDo: Wish to add Developer Options menu to turn this feature on or off, complicated by the fact that user builds have no tools with access rights to /data/misc/logd. Bug: 19608716 Change-Id: I57ad757f121c473d04f9fabe9d4820a0eca06f31
Diffstat (limited to 'logd/README.property')
-rw-r--r--logd/README.property2
1 files changed, 2 insertions, 0 deletions
diff --git a/logd/README.property b/logd/README.property
index ad7d0cd3e..a472efde9 100644
--- a/logd/README.property
+++ b/logd/README.property
@@ -10,6 +10,8 @@ ro.config.low_ram bool false if true, logd.statistics & logd.klogd
10 default false 10 default false
11ro.build.type string if user, logd.statistics & logd.klogd 11ro.build.type string if user, logd.statistics & logd.klogd
12 default false 12 default false
13persist.logd.logpersistd string Enable logpersist daemon, "logcatd"
14 turns on logcat -f in logd context
13persist.logd.size number 256K default size of the buffer for all 15persist.logd.size number 256K default size of the buffer for all
14 log ids at initial startup, at runtime 16 log ids at initial startup, at runtime
15 use: logcat -b all -G <value> 17 use: logcat -b all -G <value>