]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Let syslog(3) use RFC 5424.
authored <ed@FreeBSD.org>
Fri, 6 Apr 2018 13:00:45 +0000 (13:00 +0000)
committered <ed@FreeBSD.org>
Fri, 6 Apr 2018 13:00:45 +0000 (13:00 +0000)
commit591ef7c8076109cff3c41f9bb50da996a34121e9
tree11b8e3f08edc12e08eb73e9073b3ca80b45b4055
parent63016881446b786997c4e583e4b52983d52198b5
Let syslog(3) use RFC 5424.

With r332099 changing syslogd(8) to parse RFC 5424 formatted syslog
messages, go ahead and also change the syslog(3) libc function to
generate them. Compared to RFC 3164, RFC 5424 has various advantages,
such as sub-second precision for log entry timestamps.

As this change could have adverse effects when not updating syslogd(8)
or using a different system logging daemon, add a notice to UPDATING and
increase __FreeBSD_version.

Differential Revision: https://reviews.freebsd.org/D14926
UPDATING
lib/libc/gen/syslog.3
lib/libc/gen/syslog.c
sys/sys/param.h