Sync newsyslog(8) with FreeBSD's current code.
authorSascha Wildner <swildner@dragonflybsd.org>
Sat, 12 May 2007 08:52:00 +0000 (08:52 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Sat, 12 May 2007 08:52:00 +0000 (08:52 +0000)
commit521a7b05c4f8b968d168ae579af0f481e2ff8d6d
treec51f606672b88f9ae2520cccc9d7b51bb8f38e99
parente2c1cee4fc31a959df8d98f7b927c3513836a395
Sync newsyslog(8) with FreeBSD's current code.

New things:

* Re-ordering of the rotate/signal steps. First, rotate all files which
  need to be rotated and then send a single signal to each daemon that
  needs to be notified. This way, each daemon will only be signaled once
  instead of once per file.

* Allow /var/log to be a symbolic link.

* -d option for specifying an alternate root for log files.

* -D option for debugging purposes.

* -N option to suppress log file rotation (intended to be used in
  conjunction with -C and -CC).

* Bug fixes and minor improvements.

Note: FreeBSD's r1.107 of newsyslog.c was not brought in as it generates
      a warning in DragonFly instead of fixing one.
usr.sbin/newsyslog/Makefile
usr.sbin/newsyslog/extern.h [new file with mode: 0644]
usr.sbin/newsyslog/newsyslog.8
usr.sbin/newsyslog/newsyslog.c
usr.sbin/newsyslog/newsyslog.conf.5 [new file with mode: 0644]
usr.sbin/newsyslog/ptimes.c [new file with mode: 0644]