Date: Thu, 14 Mar 2019 20:58:50 +0000 From: Colin Percival <cperciva@tarsnap.com> To: Ed Schouten <ed@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r332100 - in head: . lib/libc/gen sys/sys Message-ID: <010001697e001a9c-830df71c-b80d-4ee8-b78b-f421db95376b-000000@email.amazonses.com> In-Reply-To: <201804061300.w36D0jTT025330@repo.freebsd.org> References: <201804061300.w36D0jTT025330@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/6/18 6:00 AM, Ed Schouten wrote: > Author: ed > Date: Fri Apr 6 13:00:45 2018 > New Revision: 332100 > URL: https://svnweb.freebsd.org/changeset/base/332100 > > Log: > 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 It looks like this changes the format in which messages are written to stderr via the LOG_PERROR flag; this is visible if you run # echo foo | logger -s which used to print "root: foo" but now prints "root 40038 - - foo". Was this intentional? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010001697e001a9c-830df71c-b80d-4ee8-b78b-f421db95376b-000000>