freebsd-dev/usr.sbin/newsyslog
David Bright b326fec486 Add newsyslog capability to write RFC5424 compliant rotation message.
This modification adds the capability to newsyslog to write the
rotation message in a format that is compliant with RFC5424. This
capability is enabled on a per-log file basis through a new value
("T") in the flags field in newsyslog.conf. This is useful on systems
that use the RFC5424 format for log files so that the rotation message
format matches that of the other log messages. There has been recent
mention of adding an RFC5424 compliant mode to syslogd and at least
one alternative system log daemon (rsyslogd) that already has the
capability to use that format.

Reviewed by:	vangyzen, ngie
Approved by:	vangyzen (mentor)
MFC after:	2 months
Relnotes:	yes
Sponsored by:	Dell EMC
Differential Revision:	https://reviews.freebsd.org/D10253
2017-05-26 16:36:30 +00:00
..
tests Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00
extern.h Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00
Makefile
Makefile.depend
newsyslog.8 Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00
newsyslog.c Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00
newsyslog.conf.5 Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00
pathnames.h Add a new Y flag to newsyslog.conf 2017-04-15 20:37:34 +00:00
ptimes.c Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00