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 httpd.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
httpd(1m)