All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] busybox-syslog: add more comments to systemd configuration file
@ 2014-02-11  7:16 Chen Qi
  2014-02-11  7:16 ` [PATCH 1/1] " Chen Qi
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2014-02-11  7:16 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit b5b4898cd409036161c62891e9618d9ab3f891f9:

  python-pycurl: upgrade to 7.19.3 (2014-02-08 21:03:27 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib ChenQi/busybox-syslog-comments
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/busybox-syslog-comments

Chen Qi (1):
  busybox-syslog: add more comments to systemd configuration file

 .../busybox/files/busybox-syslog.default           |   24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] busybox-syslog: add more comments to systemd configuration file
  2014-02-11  7:16 [PATCH 0/1] busybox-syslog: add more comments to systemd configuration file Chen Qi
@ 2014-02-11  7:16 ` Chen Qi
  0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2014-02-11  7:16 UTC (permalink / raw)
  To: openembedded-core

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]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../busybox/files/busybox-syslog.default           |   24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/meta/recipes-core/busybox/files/busybox-syslog.default b/meta/recipes-core/busybox/files/busybox-syslog.default
index a3d51ca..e516caf 100644
--- a/meta/recipes-core/busybox/files/busybox-syslog.default
+++ b/meta/recipes-core/busybox/files/busybox-syslog.default
@@ -1 +1,25 @@
 OPTIONS="-C"
+# The above option means syslogd will log to 16K shm circular buffer.
+# You could use `logread' to read it.
+
+# All available options are:
+# -O FILE       :      Log to FILE (default:/var/log/messages)
+# -l N          :      Log only messages more urgent than prio N (1-8)
+# -S            :      Smaller output
+# -s SIZE       :      Max size (KB) before rotation (default:200KB, 0=off)
+# -b N          :      N rotated logs to keep (default:1, max=99, 0=purge)
+# -R HOST[:PORT]:      Log to HOST:PORT (default PORT:514)
+# -L            :      Log locally and via network
+# -D            :      Drop duplicates
+# -C[size_kb]   :      Log to shared mem buffer (use logread to read it)
+# -f FILE       :      Use FILE as config (default:/etc/syslog.conf)
+# -m MIN        :      Minutes between mark lines (default:20, 0=off)
+# -K            :      Log to kernel printk buffer (use dmesg to read it)
+
+# Example 1:
+# Log to local file /var/log/mylog
+# OPTIONS="-O /var/log/mylog"
+#
+# Example 2:
+# Log to remote host
+# OPTIONS="-R 192.168.1.1:601"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-11  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-11  7:16 [PATCH 0/1] busybox-syslog: add more comments to systemd configuration file Chen Qi
2014-02-11  7:16 ` [PATCH 1/1] " Chen Qi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.