Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

[APACHE DOCUMENTATION]

Apache HTTP Server Version 1.3

Manual Page: rotatelogs

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)


Apache HTTP Server Version 1.3

Index Home
Who's Online
Guest Users: 14
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General