from_busybox_maillist at dexdyne.com
Fri Jan 21 16:19:00 UTC 2011
In article <201101210112.38039.vda.linux at googlemail.com>,
vda.linux at googlemail.com (Denys Vlasenko) wrote:
> *From:* Denys Vlasenko <vda.linux at googlemail.com>
> *To:* busybox at busybox.net, from_busybox_maillist at dexdyne.com
> *Date:* Fri, 21 Jan 2011 01:12:38 +0100
> On Thursday 20 January 2011 14:43, David Collier wrote:
> > I've installed busybox svlogd
> > Can I ask which features of the config file it supports, if any?
> > #ssize
> > #
> > sets the maximum file size of current when svlogd should rotate
> > # the current log file to size bytes.
> > # Default is 1000000. If size is zero, svlogd doesn't rotate
> > log # files. You should set size to at least (2 * len).
> > #nnum
> > #
> > sets the number of old log files svlogd should maintain to num.
> > # If svlogd sees more that num old log files in log after log
> > file # rotation, it deletes the oldest one.
> > # Default is 10. If num is zero, svlogd doesn't remove old
> > log files.
> > #Nmin
> > #
> > sets the minimum number of old log files svlogd should maintain #
> > to
> > min.
> > # min must be less than num.
> > # If min is set, and svlogd cannot write to current because
> > the # filesystem is full,
> > # and it sees more than min old log files,
> > # it deletes the oldest one.
> > #ttimeout
> > #
> > sets the maximum age of the current log file when svlogd should
> > # rotate the current log file to timeout seconds.
> > # If current is timeout seconds old, and is not empty, svlogd
> > # forces log file rotation.
> > #!processor
> > #
> > tells svlogd to feed each recent log file through processor
> > # (see above) on log file rotation.
> > # By default log files are not processed.
> > #ua.b.c.d[:port]
> > # tells svlogd to transmit the first len characters
> > of selected log
> > # messages to the IP address a.b.c.d, port number port.
> > # If port isn't set, the default port for syslog is used (514).
> > # len can be set through the -l option, see below.
> > # If svlogd has trouble sending udp packets, > # it
> > > writes error messages to the log directory.
> > # Attention: logging through udp is unreliable,
> > # and should be used in private networks only.
> > #Ua.b.c.d[:port]
> > # is the same as the u line above, but the log messages are no
> > # longer written to the log directory,
> > # but transmitted through udp only. >
> > > # Error messages from svlogd concerning sending udp packages
> still # go to the log directory.
> Yes except sending over network
Can I suggest adding a line to the help which says something like:
The size, num, min, timeout and processor features of the config file are
More information about the busybox