Ticket #326 (closed defect: invalid)

Opened 1 year ago

Last modified 1 year ago

syslog (busybox) is not logging to a local file when the flag "-C" is used

Reported by: tha Assigned to: tha
Priority: major Milestone: 1.0.x
Component: general Version: 1.0
Keywords: busybox syslog not logging local Cc:

Description

When syslog from busybox is started (for example at boot time) with the default settings "-C 16" (in rc.conf) then syslog will not log to file. Remote sysloging (if configured) is working. If "-C 16" is removed then local loging is working, too.

Busybox syslog seems to be broken... any ideas?

Attachments

Change History

06/11/07 21:10:45 changed by n0-1

  • status changed from new to closed.
  • resolution set to invalid.
nuty ~ % busybox syslogd --help
BusyBox v1.2.2 (2006.12.07-14:28+0000) multi-call binary

Usage: syslogd [OPTION]...

Linux system and kernel logging utility.
Note that this version of syslogd ignores /etc/syslog.conf.

Options:
	-m MIN		Minutes between MARK lines (default=20, 0=off)
	-n		Run as a foreground process
	-O FILE		Use an alternate log file (default=/var/log/messages)
	-S		Make logging output smaller.
	-s SIZE		Max size (KB) before rotate (default=200KB, 0=off)
	-b NUM		Number of rotated logs to keep (default=1, max=99, 0=purge)
	-R HOST[:PORT]	Log to IP or hostname on PORT (default PORT=514/UDP)
	-L		Log locally and via network logging (default is network only)
	-C [size(KiB)]	Log to a circular buffer (read the buffer using logread)

nuty ~ %

As you can see, it's a feature, not a bug! :P


Add/Change #326 (syslog (busybox) is not logging to a local file when the flag "-C" is used)




Action