Mark Salyzyn | 7260a5c | 2014-04-21 07:41:28 -0700 | [diff] [blame] | 1 | The properties that logd responds to are: |
| 2 | |
| 3 | name type default description |
Mark Salyzyn | e0fa291 | 2014-04-28 16:39:04 -0700 | [diff] [blame] | 4 | logd.auditd bool true Enable selinux audit daemon |
Mark Salyzyn | 7260a5c | 2014-04-21 07:41:28 -0700 | [diff] [blame] | 5 | logd.auditd.dmesg bool true selinux audit messages duplicated and |
| 6 | sent on to dmesg log |
Mark Salyzyn | ae4d928 | 2014-10-15 08:49:39 -0700 | [diff] [blame] | 7 | logd.klogd bool depends Enable klogd daemon |
Mark Salyzyn | f5fc509 | 2014-09-21 14:22:18 -0700 | [diff] [blame] | 8 | logd.statistics bool depends Enable logcat -S statistics. |
Mark Salyzyn | ae4d928 | 2014-10-15 08:49:39 -0700 | [diff] [blame] | 9 | ro.config.low_ram bool false if true, logd.statistics & logd.klogd |
| 10 | default false |
| 11 | ro.build.type string if user, logd.statistics & logd.klogd |
| 12 | default false |
Mark Salyzyn | 100658c | 2015-05-26 14:57:13 -0700 | [diff] [blame] | 13 | persist.logd.logpersistd string Enable logpersist daemon, "logcatd" |
| 14 | turns on logcat -f in logd context |
Mark Salyzyn | 932f7ac | 2015-08-28 08:02:59 -0700 | [diff] [blame] | 15 | persist.logd.size number 256K Global default size of the buffer for |
| 16 | all log ids at initial startup, at |
| 17 | runtime use: logcat -b all -G <value> |
Mark Salyzyn | 671e343 | 2014-05-06 07:34:59 -0700 | [diff] [blame] | 18 | persist.logd.size.main number 256K Size of the buffer for the main log |
| 19 | persist.logd.size.system number 256K Size of the buffer for the system log |
| 20 | persist.logd.size.radio number 256K Size of the buffer for the radio log |
| 21 | persist.logd.size.event number 256K Size of the buffer for the event log |
| 22 | persist.logd.size.crash number 256K Size of the buffer for the crash log |
Mark Salyzyn | 932f7ac | 2015-08-28 08:02:59 -0700 | [diff] [blame] | 23 | persist.logd.filter string Pruning filter to optimize content, |
| 24 | default is ro.logd.filter or |
| 25 | "~!" which means to prune the oldest |
| 26 | entries of chattiest UID. At runtime |
| 27 | use: logcat -P "<string>" |
Mark Salyzyn | b6bee33 | 2015-09-08 08:56:32 -0700 | [diff] [blame] | 28 | persist.logd.timestamp string The recording timestamp source. Default |
| 29 | is ro.logd.timestamp. "m[onotonic]" is |
| 30 | the only supported key character, |
| 31 | otherwise assumes realtime. |
Mark Salyzyn | 671e343 | 2014-05-06 07:34:59 -0700 | [diff] [blame] | 32 | |
| 33 | NB: |
Mark Salyzyn | 932f7ac | 2015-08-28 08:02:59 -0700 | [diff] [blame] | 34 | - 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 |
| 36 | such as main, system, ... override global default. |
| 37 | - Pruning filter is of form of a space-separated list of [~][UID][/PID] |
| 38 | references, where '~' prefix means to blacklist otherwise whitelist. For |
| 39 | blacklisting, UID may be a '!' to instead reference the chattiest client. |