blob: e4b23a9b906160f3077835a4262c20e680acc4c9 [file] [log] [blame]
Mark Salyzyn7260a5c2014-04-21 07:41:28 -07001The properties that logd responds to are:
2
3name type default description
Mark Salyzyne0fa2912014-04-28 16:39:04 -07004logd.auditd bool true Enable selinux audit daemon
Mark Salyzyn7260a5c2014-04-21 07:41:28 -07005logd.auditd.dmesg bool true selinux audit messages duplicated and
6 sent on to dmesg log
Mark Salyzynae4d9282014-10-15 08:49:39 -07007logd.klogd bool depends Enable klogd daemon
Mark Salyzynf5fc5092014-09-21 14:22:18 -07008logd.statistics bool depends Enable logcat -S statistics.
Mark Salyzynae4d9282014-10-15 08:49:39 -07009ro.config.low_ram bool false if true, logd.statistics & logd.klogd
10 default false
11ro.build.type string if user, logd.statistics & logd.klogd
12 default false
Mark Salyzyn100658c2015-05-26 14:57:13 -070013persist.logd.logpersistd string Enable logpersist daemon, "logcatd"
14 turns on logcat -f in logd context
Mark Salyzyn932f7ac2015-08-28 08:02:59 -070015persist.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 Salyzyn671e3432014-05-06 07:34:59 -070018persist.logd.size.main number 256K Size of the buffer for the main log
19persist.logd.size.system number 256K Size of the buffer for the system log
20persist.logd.size.radio number 256K Size of the buffer for the radio log
21persist.logd.size.event number 256K Size of the buffer for the event log
22persist.logd.size.crash number 256K Size of the buffer for the crash log
Mark Salyzyn932f7ac2015-08-28 08:02:59 -070023persist.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 Salyzynb6bee332015-09-08 08:56:32 -070028persist.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 Salyzyn671e3432014-05-06 07:34:59 -070032
33NB:
Mark Salyzyn932f7ac2015-08-28 08:02:59 -070034- 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.