cvs commit: src/usr.sbin/newsyslog Makefile extern.h newsyslog.8 newsyslog.c newsyslog.conf.5 ptimes.c

Sascha Wildner swildner at crater.dragonflybsd.org
Sat May 12 01:52:52 PDT 2007


swildner    2007/05/12 01:52:00 PDT

DragonFly src repository

  Modified files:
    usr.sbin/newsyslog   Makefile newsyslog.8 newsyslog.c 
  Added files:
    usr.sbin/newsyslog   extern.h newsyslog.conf.5 ptimes.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.4       +2 -1      src/usr.sbin/newsyslog/Makefile
  1.4       +42 -321   src/usr.sbin/newsyslog/newsyslog.8
  1.6       +812 -553  src/usr.sbin/newsyslog/newsyslog.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/newsyslog/Makefile.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/newsyslog/newsyslog.8.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/newsyslog/newsyslog.c.diff?r1=1.5&r2=1.6&f=u





More information about the Commits mailing list