syslog

How to output kernel log to normal syslog

/etc/syslog.conf

kern.*              -/var/log/kern.log

busybox syslog

/ # syslogd -help
syslogd: invalid option -- h
BusyBox v1.7.1 (2009-02-02 17:53:48 PST) multi-call binary

Usage: syslogd [OPTION]...

System logging utility.
Note that this version of syslogd ignores /etc/syslog.conf. 

Options:
        -n              Run as foreground process
        -O FILE         Log to given file (default=/var/log/messages)
        -l n            Set local log level
        -S              Smaller logging output
        -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)
        -C[size(KiB)]   Log to shared mem buffer (read it using logread)
最終更新:2009年02月26日 14:34
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。