BSD syslog
BSD linux syslog has a constantly broken setup of syslog messaging format that does not adhere to RFC. When logs are sent from BSD, it does not parse correctly because they have a different format. Before the fix is available, you can manually compile the source code:
-
Install the source download tools:
pkg install svnup
-
Edit a file:
/usr/local/etc/svnup.conf.
-
Comment one of the host files:
#host=svn.freebsd.org #host=svn0.us-west.freebsd.org #host=svn0.us-east.freebsd.org #host=svn0.eu.freebsd.org
-
Download source code. (may take some time)
svnup release
-
Edit all files (it is possible that the line numbers have shifted, but it can be found without any major issues)
-
Next step, compilation is required:
cd /usr/src/usr.sbin/syslogd make make install
-
Add the -t parameter when you run syslog; edit or add a line to:
/etc/rc.conf: syslogd_flags="-t"
-
Add sending messages to Logmanager, a file:
/etc/syslog.conf local1.* @192.168.250.25
-
Restart syslog.
/etc/rc.d/syslogd restart