w3-tools.com - Free Webmaster Tools and Resources
 
w3-tools.com - Free Webmaster Tools and Resources
 Free Webmaster Tools and Resources

 



Apache Manual

This manual is provided as a courtesy. It is not an official source. Please check apache.org for updated information.

PHP Manual

PHP Manual

[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 [ offset ]

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.

     offset
          The number of minutes offset from UTC. If omitted, zero
          is assumed and UTC is used.  For example, to use local
          time in the zone UTC -5 hours, specify a value of -300
          for this argument.

SEE ALSO
     httpd(8)


Apache HTTP Server Version 1.3

Index Home

Newsletter

Join to our newsletter and receive news and updates about our site.
Your name: 
E-mail address: 
Action: 
 

Hosted by

Search

Google
Web w3-tools.com

Links

  What is my IP? Find your IP address!     Valid XHTML 1.0 Transitional  
Copyright © 2006. by w3-tools.com. All rights reserved