1The properties that logd and friends react to are:
2
3name                       type default  description
4ro.logd.auditd             bool   true   Enable selinux audit daemon
5ro.logd.auditd.dmesg       bool   true   selinux audit messages sent to dmesg.
6ro.logd.auditd.main        bool   true   selinux audit messages sent to main.
7ro.logd.auditd.events      bool   true   selinux audit messages sent to events.
8persist.logd.security      bool   false  Enable security buffer.
9ro.organization_owned      bool   false  Override persist.logd.security to false
10ro.logd.kernel             bool  svelte+ Enable klogd daemon
11logd.statistics            bool  svelte+ Enable logcat -S statistics.
12ro.debuggable              number        if not "1", logd.statistics &
13                                         ro.logd.kernel default false.
14logd.logpersistd.enable    bool   auto   Safe to start logpersist daemon service
15logd.logpersistd          string persist Enable logpersist daemon, "logcatd"
16                                         turns on logcat -f in logd context.
17					 Responds to logcatd, clear and stop.
18logd.logpersistd.buffer          persist logpersistd buffers to collect
19logd.logpersistd.size            persist logpersistd size in MB
20logd.logpersistd.rotate_kbytes   	 persist logpersistd outout file size in KB.
21persist.logd.logpersistd   string        Enable logpersist daemon, "logcatd"
22                                         turns on logcat -f in logd context.
23persist.logd.logpersistd.buffer    all   logpersistd buffers to collect
24persist.logd.logpersistd.size      256   logpersistd size in MB
25persist.logd.logpersistd.count     256   sets max number of rotated logs to <count>.
26persist.logd.logpersistd.rotate_kbytes   1024  logpersistd output file size in KB
27persist.logd.size          number  ro    Global default size of the buffer for
28                                         all log ids at initial startup, at
29                                         runtime use: logcat -b all -G <value>
30ro.logd.size               number svelte default for persist.logd.size. Larger
31                                         platform default sizes than 256KB are
32                                         known to not scale well under log spam
33                                         pressure. Address the spam first,
34                                         resist increasing the log buffer.
35persist.logd.size.<buffer> number  ro    Size of the buffer for <buffer> log
36ro.logd.size.<buffer>      number svelte default for persist.logd.size.<buffer>
37ro.config.low_ram          bool   false  if true, logd.statistics,
38                                         ro.logd.kernel default false,
39                                         logd.size 64K instead of 256K.
40persist.logd.filter        string        Pruning filter to optimize content.
41                                         At runtime use: logcat -P "<string>"
42ro.logd.filter       string "~! ~1000/!" default for persist.logd.filter.
43                                         This default means to prune the
44                                         oldest entries of chattiest UID, and
45                                         the chattiest PID of system
46                                         (1000, or AID_SYSTEM).
47log.tag                   string persist The global logging level, VERBOSE,
48                                         DEBUG, INFO, WARN, ERROR, ASSERT or
49                                         SILENT. Only the first character is
50                                         the key character.
51persist.log.tag            string build  default for log.tag
52log.tag.<tag>             string persist The <tag> specific logging level.
53persist.log.tag.<tag>      string build  default for log.tag.<tag>
54
55logd.buffer_type           string (empty) Set the log buffer type.  Current choices are 'simple',
56                                          'chatty', or 'serialized'.  Defaults to 'chatty' if empty.
57
58NB:
59- auto - managed by /init
60- svelte - see ro.config.low_ram for details.
61- svelte+ - If empty, default to true if `ro.config.low_ram == false && ro.debuggable == true`
62- ro - <base property> temporary override, ro.<base property> platform default.
63- persist - <base property> override, persist.<base property> platform default.
64- build - VERBOSE for native, DEBUG for jvm isLoggable, or developer option.
65- number - support multipliers (K or M) for convenience. Range is limited
66  to between 64K and 256M for log buffer sizes. Individual log buffer ids
67  such as main, system, ... override global default.
68- Pruning filter rules are specified as UID, UID/PID or /PID. A '~' prefix indicates that elements
69  matching the rule should be pruned with higher priority otherwise they're pruned with lower
70  priority. All other pruning activity is oldest first. Special case ~! represents an automatic
71  pruning for the noisiest UID as determined by the current statistics.  Special case ~1000/!
72  represents pruning of the worst PID within AID_SYSTEM when AID_SYSTEM is the noisiest UID.
73