Martineau
Part of the Furniture
Possibly, (or you need to run dos2unix on the script) but use of scribe/syslog-ng is now the preferred method of moving Syslog to disk.It seems that the parameters have changed
Just as a comparison, can you please check the version of syslogd?and/or I am not using the GNU versions of the logger and syslogd?
Code:syslogd: invalid option -- 's' BusyBox v1.31.1 () multi-call binary.
Code:
syslogd --help
BusyBox v1.25.1 (2020-04-05 13:34:30 EDT) multi-call binary.
Usage: syslogd [OPTIONS]
System logging utility
(this version of syslogd ignores /etc/syslog.conf)
-n Run in foreground
-R HOST[:PORT] Log to HOST:PORT (default PORT:514)
-L Log locally and via network (default is network only if -R)
-O FILE Log to FILE (default: /var/log/messages, stdout if -)
-s SIZE Max size (KB) before rotation (default:200KB, 0=off)
-b N N rotated logs to keep (default:1, max=99, 0=purge)
-l N Log only messages more urgent than prio N (1-8)
-S Smaller output
-H NAME Use NAME as hostname
Code:
which syslogd
/sbin/syslogd