Gather public API coverage
[platform/core/system/dlog.git] / configs / 25-logger.conf
1 # Uncomment line below to force logger backend (otherwise it will be autodetected)
2 #backend=logger
3
4 # Paths to the appropriate devices for the four "classic" buffers
5 # Multiple devices can be specified, delimited by ':'
6 # This allows to create a backup in case a buffer is missing
7 # IF the value has a colon AT THE END, the buffer is OPTIONAL
8 # ELSE the buffer is MANDATORY and will crash if all devices are missing
9 main=/dev/log_main
10 apps=/dev/log_apps:/dev/log_events:/dev/log_main
11 system=/dev/log_system:/dev/log_main
12 radio=/dev/log_radio:/dev/log_main
13
14 # Passive logging, see the main `dlog.conf` file for details
15 # NOTE: Do not change the following key names!  When different backend
16 #       is used (eg. logger, via 25-logger.conf) these will be overriden.
17 # dlog_logger_conf_kmsg=dlogutil -b kmsg -r 1024 -n 1 -f /var/log/dlog/kernel -v kerneltime
18
19 # Daemon throttling
20 # controls how many logs the daemon will try to read at once
21 # from an Android Logger device, affecting how a busy buffer
22 # will influence others; use with caution
23 #  - a higher value means it is more likely to starve them
24 #  - a lower one means it will lose logs itself
25
26 # the default for all buffers (if missing, 100 is used)
27 logger_dev_throttling=100
28
29 # setting a buffer-specific value is also possible,
30 # taking precedence over the default
31 #logger_dev_throttling_radio=1000
32 #logger_dev_throttling_main=80
33
34 # How long after start the daemon works in "lazy" mode, which means that it
35 # wakes up exactly after specified time (unlike regular polling, where it
36 # might wake up immediately if logs are available). This reduces the overhead
37 # for waking up, but can result in log loss under heavy load. Use -1 as the
38 # total time to keep the daemon in the lazy mode permanently. Defaults to 0.
39 lazy_polling_total_ms=-1
40 lazy_polling_sleep_ms=100
41
42 # File which will be used to check if the DLog daemon is run for the first time since last system restart.
43 # Note that this file must be in a directory that is not preserved across restarts!
44 # If empty or unset, the file won't be created and every run will be treated as first.
45 first_time_file_path=/run/dlog/first_time