diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-02-11 15:16:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-13 11:41:22 +0000 |
commit | d5909eb578020c1f888247172dafd804fda57720 (patch) | |
tree | d40ab2a21be361322b32501e4f946625daad8347 | |
parent | 4794dee6a1098b2b0c2091b2d43e43f1fe94ae24 (diff) | |
download | poky-d5909eb578020c1f888247172dafd804fda57720.tar.gz |
busybox-syslog: add more comments to systemd configuration file
Add more comments to the systemd configuration file for busybox's
syslogd utility. The purpose is to easy the life of system administrators.
These comments are mostly derived from the comments in syslogd.c in
busybox.
[YOCTO #5722]
(From OE-Core rev: eba4f2bd2a0becc086f107dbd0d3ec5222c5eed2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/busybox/files/busybox-syslog.default | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/busybox-syslog.default b/meta/recipes-core/busybox/files/busybox-syslog.default index a3d51caa50..e516caf518 100644 --- a/meta/recipes-core/busybox/files/busybox-syslog.default +++ b/meta/recipes-core/busybox/files/busybox-syslog.default | |||
@@ -1 +1,25 @@ | |||
1 | OPTIONS="-C" | 1 | OPTIONS="-C" |
2 | # The above option means syslogd will log to 16K shm circular buffer. | ||
3 | # You could use `logread' to read it. | ||
4 | |||
5 | # All available options are: | ||
6 | # -O FILE : Log to FILE (default:/var/log/messages) | ||
7 | # -l N : Log only messages more urgent than prio N (1-8) | ||
8 | # -S : Smaller output | ||
9 | # -s SIZE : Max size (KB) before rotation (default:200KB, 0=off) | ||
10 | # -b N : N rotated logs to keep (default:1, max=99, 0=purge) | ||
11 | # -R HOST[:PORT]: Log to HOST:PORT (default PORT:514) | ||
12 | # -L : Log locally and via network | ||
13 | # -D : Drop duplicates | ||
14 | # -C[size_kb] : Log to shared mem buffer (use logread to read it) | ||
15 | # -f FILE : Use FILE as config (default:/etc/syslog.conf) | ||
16 | # -m MIN : Minutes between mark lines (default:20, 0=off) | ||
17 | # -K : Log to kernel printk buffer (use dmesg to read it) | ||
18 | |||
19 | # Example 1: | ||
20 | # Log to local file /var/log/mylog | ||
21 | # OPTIONS="-O /var/log/mylog" | ||
22 | # | ||
23 | # Example 2: | ||
24 | # Log to remote host | ||
25 | # OPTIONS="-R 192.168.1.1:601" | ||