rotatelogs

ROTATELOGS(8)            Linux Administrator's Manual            ROTATELOGS(8)



NAME
       rotatelogs - do dynamic rotation of a log file

SYNOPSYS
       rotatelogs logfile rotation

DESCRIPTION
       rotatelogs copies its standard input to a logfile that is rotated
       automatically every rotation seconds.  The files in which the data are
       written are named logfile.nnnn where the extension is the time at which
       the creation of the file takes place.

EXAMPLE
       The following line in apache.conf can be used to rotate the transfer
       log each day:

           TransferLog "|rotatelogs /var/log/apache/access.log 86400"

DOCUMENTATION
       Yves Arrouye <arrouye@debian.org>

SEE ALSO
       apache(8)



Debian/Linux                   9 September 1996                  ROTATELOGS(8)