FreeBSD 12 log formats
Ben Woods
woodsb02 at gmail.com
Thu Jan 3 21:26:47 UTC 2019
On Thu, 3 Jan 2019 at 3:12 am, Matt Churchyard <matt.churchyard at userve.net>
wrote:
> I (and other users) have noticed that log messages have started appearing
> in a different format in FreeBSD 12 (although in my case only on one
> system, and some logs are still the original format...).
> ...
>
> Jan 2 12:04:13 ftp 1 2019-01-02T12:04:13.584377+00:00 ftp.full.hostname
> pkg 5522 - - php72-hash-7.2.13 installed
>
Hi Matt,
That log message has both the old and new formats combined - I believe that
will occur when you are using an old syslog daemon with the new libc
syslog(3) code. By “old” daemon, I mean one that has not been updated to
expect the /var/run/log[priv] sockets to contain RFC5424 style logs.
Are there any jails involved with the above log message, or was it simply
running “pkg install ...” on the FreeBSD 12 host?
If you are using rsyslog or syslog-ng, the UPDATING entry for this change
(linked below) includes instructions required to make them work with the
new libc code:
https://svnweb.freebsd.org/base/head/UPDATING?r1=332100&r2=332099&pathrev=332100
Regards,
Ben
--
--
From: Benjamin Woods
woodsb02 at gmail.com
More information about the freebsd-hackers
mailing list