[OE-core] does busybox 1.19 still support the arg `-m'?

Ni Qingliang niqingliang at insigma.com.cn
Wed Jan 11 08:16:22 UTC 2012


and in syslog-startup.conf, the comments `incompatible with busybox'
should be deleted.

#ROTATESIZE=0			# rotate log if grown beyond X [kByte] (incompatible
with busybox)
#ROTATEGENS=3			# keep X generations of rotated logs (incompatible with
busybox)

On Wed, 2012-01-11 at 16:12 +0800, 倪庆亮 wrote:
> in file meta/recipes-core/busybox/files/syslog
> I found code section:
>         if [ -n "$MARKINT" ]; then
>                 SYSLOG_ARGS="$SYSLOG_ARGS -m $MARKINT"
>         fi
> but I can't find `-m' in the help of syslogd.
> 
> 
> syslogd --help
> BusyBox v1.19.3 (2012-01-11 12:34:06 CST) multi-call binary.
> 
> Usage: syslogd [OPTIONS]
> 
> System logging utility
> 
>         -n              Run in foreground
>         -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 IP or hostname on PORT (default
> PORT=514/UDP)
>         -L              Log locally and via network (default is network
> only if)
>         -C[size_kb]     Log to shared mem buffer (use logread to read
> it)
>         -f FILE         Use FILE as config (default:/etc/syslog.conf)
> 
> --
> Yi Qingliang
> niqingliang at insigma.com.cn
> https://niqingliang2003.wordpress.com
> 

-- 
Yi Qingliang
niqingliang at insigma.com.cn
https://niqingliang2003.wordpress.com





More information about the Openembedded-core mailing list