diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-04-26 09:10:46 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-04-26 09:10:46 +0000 |
commit | 24139e94255b11de7287325c955af25be165eae9 (patch) | |
tree | 62430f70046b3d221b79794d511b22326f38adf9 /packages/busybox/busybox-1.2.1/angstrom | |
parent | 30dbe7baba9a0101801b4db9101dbc69d5cb48e1 (diff) |
busybox 1.2.1: angstrom: Make syslogd log to /var/log/messages.
* With rotation and size/rotation count limit, which coupled
with /var/log being a tmpfs, makes it not worse than canonical
circular buffer logging, but much more friendly for people not
familiar with busybox.
* Closes #2135.
* Approved by Koen Kooi
Diffstat (limited to 'packages/busybox/busybox-1.2.1/angstrom')
-rw-r--r-- | packages/busybox/busybox-1.2.1/angstrom/syslog.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/busybox/busybox-1.2.1/angstrom/syslog.conf b/packages/busybox/busybox-1.2.1/angstrom/syslog.conf new file mode 100644 index 0000000000..047e82419e --- /dev/null +++ b/packages/busybox/busybox-1.2.1/angstrom/syslog.conf @@ -0,0 +1,9 @@ +DESTINATION="file" # log destinations (buffer file remote) +MARKINT=20 # interval between --mark-- entries [min] +REDUCE=no # reduced-size logging +BUFFERSIZE=64 # buffer: size of circular buffer [kByte] +LOGFILE=/var/log/messages # file: where to log +ROTATESIZE=32 # file: rotate log if grown beyond X [kByte] (busybox 1.2+) +ROTATEGENS=1 # file: keep X generations of rotated logs (busybox 1.2+) +REMOTE=loghost:514 # remote: where to log +FOREGROUND=no # run in foreground (don't use!) |