summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2015-12-14 18:40:12 -0600
committerMark Salyzyn2015-12-22 09:44:31 -0600
commit9c66a58f216e88e46f4ceacbd54599c28a20a729 (patch)
tree86cc9bb37a1110485de007bcd87441ef8c573eb4 /logd/README.property
parent8a1b764db9ea1681191662ea343c7598707d3510 (diff)
downloadplatform-system-core-9c66a58f216e88e46f4ceacbd54599c28a20a729.tar.gz
platform-system-core-9c66a58f216e88e46f4ceacbd54599c28a20a729.tar.xz
platform-system-core-9c66a58f216e88e46f4ceacbd54599c28a20a729.zip
logd: Allow flags "eng" and "svelte" in boolean
- enhance property_get_bool, drop property_get_bool_svelte - enhance base properties with ro and persist variants - update and fortify README.property - primarily move auditd and kernel logger into a realm where they can be controlled by build properties. - Move logd.klogd to logd.kernel, and add ro.logd.kernel and persist.logd.kernel. - Add ro.logd.auditd and persist.logd.auditd. - Document persist.logd.security - Document log.tag and persist.logd.tag properties. - Document ro.logd.size, persist.logd.size and logd.size properties. Bug: 26178938 Bug: 26029733 Bug: 17760225 Change-Id: Ibc1a497e45d69db5cf52133937f7ba6fb1d6cd21
Diffstat (limited to 'logd/README.property')
-rw-r--r--logd/README.property66
1 files changed, 41 insertions, 25 deletions
diff --git a/logd/README.property b/logd/README.property
index e4b23a9b9..019bd4006 100644
--- a/logd/README.property
+++ b/logd/README.property
@@ -1,37 +1,53 @@
1The properties that logd responds to are: 1The properties that logd responds to are:
2 2
3name type default description 3name type default description
4logd.auditd bool true Enable selinux audit daemon 4ro.logd.auditd bool true Enable selinux audit daemon
5logd.auditd.dmesg bool true selinux audit messages duplicated and 5ro.logd.auditd.dmesg bool true selinux audit messages duplicated and
6 sent on to dmesg log 6 sent on to dmesg log
7logd.klogd bool depends Enable klogd daemon 7persist.logd.security bool false Enable security buffer.
8logd.statistics bool depends Enable logcat -S statistics. 8ro.device_owner bool false Override persist.logd.security to false
9ro.config.low_ram bool false if true, logd.statistics & logd.klogd 9ro.logd.kernel bool+ svelte+ Enable klogd daemon
10 default false 10ro.logd.statistics bool+ svelte+ Enable logcat -S statistics.
11ro.build.type string if user, logd.statistics & logd.klogd 11ro.build.type string if user, logd.statistics &
12 default false 12 ro.logd.kernel default false.
13persist.logd.logpersistd string Enable logpersist daemon, "logcatd" 13persist.logd.logpersistd string Enable logpersist daemon, "logcatd"
14 turns on logcat -f in logd context 14 turns on logcat -f in logd context
15persist.logd.size number 256K Global default size of the buffer for 15persist.logd.size number ro Global default size of the buffer for
16 all log ids at initial startup, at 16 all log ids at initial startup, at
17 runtime use: logcat -b all -G <value> 17 runtime use: logcat -b all -G <value>
18persist.logd.size.main number 256K Size of the buffer for the main log 18ro.logd.size number svelte default for persist.logd.size
19persist.logd.size.system number 256K Size of the buffer for the system log 19persist.logd.size.<buffer> number ro Size of the buffer for <buffer> log
20persist.logd.size.radio number 256K Size of the buffer for the radio log 20ro.logd.size.<buffer> number svelte default for persist.logd.size.<buffer>
21persist.logd.size.event number 256K Size of the buffer for the event log 21ro.config.low_ram bool false if true, logd.statistics, logd.kernel
22persist.logd.size.crash number 256K Size of the buffer for the crash log 22 default false, logd.size 64K instead
23persist.logd.filter string Pruning filter to optimize content, 23 of 256K.
24 default is ro.logd.filter or 24persist.logd.filter string Pruning filter to optimize content.
25 "~!" which means to prune the oldest 25 At runtime use: logcat -P "<string>"
26 entries of chattiest UID. At runtime 26ro.logd.filter string "~!" default for persist.logd.filter.
27 use: logcat -P "<string>" 27 This default means to prune the
28persist.logd.timestamp string The recording timestamp source. Default 28 oldest entries of chattiest UID.
29 is ro.logd.timestamp. "m[onotonic]" is 29persist.logd.timestamp string ro The recording timestamp source.
30 the only supported key character, 30 "m[onotonic]" is the only supported
31 otherwise assumes realtime. 31 key character, otherwise realtime.
32ro.logd.timestamp string realtime default for persist.logd.timestamp
33log.tag string persist The global logging level, VERBOSE,
34 DEBUG, INFO, WARN, ERROR, ASSERT or
35 SILENT. Only the first character is
36 the key character.
37persist.log.tag string build default for log.tag
38log.tag.<tag> string persist The <tag> specific logging level.
39persist.log.tag.<tag> string build default for log.tag.<tag>
32 40
33NB: 41NB:
34- Number support multipliers (K or M) for convenience. Range is limited 42- bool+ - "true", "false" and comma separated list of "eng" (forced false if
43 ro.build.type is "user") or "svelte" (forced false if ro.config.low_ram is
44 true).
45- svelte - see ro.config.low_ram for details.
46- svelte+ - see ro.config.low_ram and ro.build.type for details.
47- ro - <base property> temporary override, ro.<base property> platform default.
48- persist - <base property> override, persist.<base property> platform default.
49- build - VERBOSE for native, DEBUG for jvm isLoggable, or developer option.
50- number - support multipliers (K or M) for convenience. Range is limited
35 to between 64K and 256M for log buffer sizes. Individual log buffer ids 51 to between 64K and 256M for log buffer sizes. Individual log buffer ids
36 such as main, system, ... override global default. 52 such as main, system, ... override global default.
37- Pruning filter is of form of a space-separated list of [~][UID][/PID] 53- Pruning filter is of form of a space-separated list of [~][UID][/PID]