Home | History | Annotate | only in /system/core/logd
Up to higher level directory
NameDateSize
Android.mk08-Oct-20151.4K
CommandListener.cpp08-Oct-20158.2K
CommandListener.h08-Oct-20152.3K
event.logtags08-Oct-20151.2K
FlushCommand.cpp08-Oct-20152.7K
FlushCommand.h08-Oct-20151.3K
libaudit.c08-Oct-20157.6K
libaudit.h08-Oct-20152.3K
LogAudit.cpp08-Oct-20157.2K
LogAudit.h08-Oct-20151.1K
LogBuffer.cpp08-Oct-201518.7K
LogBuffer.h08-Oct-20152.8K
LogBufferElement.cpp08-Oct-20156.3K
LogBufferElement.h08-Oct-20153.3K
LogCommand.cpp08-Oct-20153.8K
LogCommand.h08-Oct-2015927
LogKlog.cpp08-Oct-201517K
LogKlog.h08-Oct-20151.8K
LogListener.cpp08-Oct-20153.5K
LogListener.h08-Oct-20151,018
logpersist08-Oct-2015898
LogReader.cpp08-Oct-20155.6K
LogReader.h08-Oct-20151.1K
LogStatistics.cpp08-Oct-201515.7K
LogStatistics.h08-Oct-20159.3K
LogTimes.cpp08-Oct-20156.1K
LogTimes.h08-Oct-20153.4K
LogWhiteBlackList.cpp08-Oct-20155.8K
LogWhiteBlackList.h08-Oct-20151.9K
main.cpp08-Oct-201512.9K
README.auditd08-Oct-2015549
README.property08-Oct-20151.6K
tests/08-Oct-2015

README.auditd

      1 Auditd Daemon
      2 
      3 The audit daemon is a simplified version of its desktop
      4 counterpart designed to gather the audit logs from the
      5 audit kernel subsystem. The audit subsystem of the kernel
      6 includes Linux Security Modules (LSM) messages as well.
      7 
      8 To enable the audit subsystem, you must add this to your
      9 kernel config:
     10 CONFIG_AUDIT=y
     11 
     12 To enable a LSM, you must consult that LSM's documentation, the
     13 example below is for SELinux:
     14 CONFIG_SECURITY_SELINUX=y
     15 
     16 This does not include possible dependencies that may need to be
     17 satisfied for that particular LSM.
     18 

README.property

      1 The properties that logd responds to are:
      2 
      3 name                       type default  description
      4 logd.auditd                 bool  true   Enable selinux audit daemon
      5 logd.auditd.dmesg           bool  true   selinux audit messages duplicated and
      6                                          sent on to dmesg log
      7 logd.klogd                  bool depends Enable klogd daemon
      8 logd.statistics             bool depends Enable logcat -S statistics.
      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
     13 persist.logd.logpersistd    string       Enable logpersist daemon, "logcatd"
     14                                          turns on logcat -f in logd context
     15 persist.logd.size          number 256K   default size of the buffer for all
     16                                          log ids at initial startup, at runtime
     17                                          use: logcat -b all -G <value>
     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
     23 
     24 NB:
     25 - number support multipliers (K or M) for convenience. Range is limited
     26   to between 64K and 256M for log buffer sizes. Individual logs override the
     27   global default.
     28