]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r318960,r319545,r319546,r319548,r321261:
authorngie <ngie@FreeBSD.org>
Thu, 20 Jul 2017 00:41:46 +0000 (00:41 +0000)
committerngie <ngie@FreeBSD.org>
Thu, 20 Jul 2017 00:41:46 +0000 (00:41 +0000)
commit69b07061306ad2f32f01a56ff97d678c2c8e2ea9
tree9a3fc9ef5b1a02f61bcdef9ec925712cca6597a9
parenta041251e8ad907cf2e46019f9d06d2035f8613e3
MFC r318960,r319545,r319546,r319548,r321261:

r318960 (by dab):

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.

Relnotes: yes

r319545:

Don't execute the TODO cases in a subshell

This messes up the testcase counter, as seen in bug 219756.

PR: 212160, 219756

r319546:

Fix the testplan after ^/head@r318960

The number of executed testcases is 128, not 126.

MFC with: r318960

r319548:

Remove TODO for sub testcases added for bug 212160

On closer inspection, the past failures no longer occur on ^/head.

PR: 212160

r321261:

Clean up leading whitespace (convert single column spaces to hard tabs)
usr.sbin/newsyslog/extern.h
usr.sbin/newsyslog/newsyslog.8
usr.sbin/newsyslog/newsyslog.c
usr.sbin/newsyslog/newsyslog.conf.5
usr.sbin/newsyslog/ptimes.c
usr.sbin/newsyslog/tests/legacy_test.sh