that’s built-in already
cd /etc/ mv -i syslog.conf syslog.conf.dist grep -vE '^#|^$' syslog.conf.dist > syslog.conf.clean grep -vE '^#|^$' syslog.conf.dist > syslog.conf vi syslog.conf
*.info;*.!warn;cron.none;mail.none;news.none -/var/log/messages *.warn;cron.none;mail.none;news.none -/var/log/syslog *.=debug -/var/log/debug auth.*,authpriv.* -/var/log/secure cron.* -/var/log/cron mail.* -/var/log/maillog *.emerg *
rmdir syslog.d/ # slackware vi /etc/default/syslogd SYSLOGD_OPTS="-s -m0"
start and enable
systemctl list-unit-files | grep rc-local vi /etc/rc.local echo -n syslogd ... /usr/local/sbin/syslogd -s -m0 && echo done
operations
pgrep -a syslogd pkill syslogd
/etc/rc.d/rc.syslog restart
https://github.com/troglobit/sysklogd/tags