rotatelogs man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi logo
[printable version]



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

[top]

List of man pages available for BSDi

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net