Computer Science


rotatelogs(8)                                       rotatelogs(8)

NAME
       rotatelogs - rotate Apache logs without having to kill the
       server

SYNOPSIS
       rotatelogs logfile rotationtime

DESCRIPTION
       rotatelogs is a simple program for use in conjunction with
       Apache's  piped  logfile  feature  which  can be used like
       this:

          TransferLog    "|rotatelogs    /path/to/logs/access_log
       86400"

       This creates the files /path/to/logs/access_log.nnnn where
       nnnn is the system time at which the log nominally  starts
       (this time will always be a multiple of the rotation time,
       so you can synchronize cron scripts with it).  At the  end
       of  each  rotation time (here after 24 hours) a new log is
       started.

OPTIONS
       logfile
              The path plus basename of the logfile.  The  suffix
              .nnnn is automatically added.

       rotationtime
              The rotation time in seconds.

SEE ALSO
       httpd(8)

                            March 1998                          1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page