HomeFreeBSD

newsyslog(8): Implement a new 'E' flag to not rotate empty log files

Description

newsyslog(8): Implement a new 'E' flag to not rotate empty log files

Based on an idea from dvl's coworker, László DANIELISZ, implement
a new flag, 'E', that prevents newsyslog(8) from rotating the empty
log files. This 'E' flag ist mostly usable in conjunction with 'B'
flag that instructs newsyslog(8) to not insert an informational
message into the log file after rotation, keeping it still empty.

Reviewed by: markj, ian, manpages (rpokala)
Approved by: markj, ian, manpages (rpokala)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D28940

(cherry picked from commit c7d27b225df8d7fb36a31a21737d4309593c4604)

Details

Provenance
otisAuthored on Feb 28 2021, 10:07 PM
Reviewer
markj
Differential Revision
D28940: usr.sbin/newsyslog: Implement E newsyslog.conf entry flag
Parents
rG7dd29d256ff7: Do not complain about incorrect cylinder group check-hashes when
Branches
Unknown
Tags
Unknown