git: newsyslog: Sync with FreeBSD.
Peter Avalos
pavalos at crater.dragonflybsd.org
Sun Feb 20 15:05:02 PST 2011
commit 2d012f911ced66944c9a43e46904571031eac8e7
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date: Sun Feb 20 12:14:03 2011 -1000
newsyslog: Sync with FreeBSD.
-Don't consider non-existence of a PID file an error.
-Add -P flag which prevents further action if the pidfile is empty or
doesn't exist.
-Add a -S switch to override the default syslog pid file.
-Add support for creating the archived log filenames using a time-stamp
instead of the traditional simple counter.
-Add xz(1) support.
-Rewrite and simplify logfile compression code.
-Convert newsyslog to using queue(3) macros.
-Add file include processing.
Obtained-from: FreeBSD
Summary of changes:
usr.sbin/newsyslog/newsyslog.8 | 52 +++-
usr.sbin/newsyslog/newsyslog.c | 780 ++++++++++++++++++++++++-----------
usr.sbin/newsyslog/newsyslog.conf.5 | 36 ++-
usr.sbin/newsyslog/pathnames.h | 12 +-
4 files changed, 627 insertions(+), 253 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2d012f911ced66944c9a43e46904571031eac8e7
--
DragonFly BSD source repository
More information about the Commits
mailing list