1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-26 05:42:34 +03:00
Files
apache/docs/manual/programs/rotatelogs.html
Joshua Slive a0e0d6527b Bring the HTML man pages up to speed with the nroff ones and
change the format slightly.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87875 13f79535-47bb-0310-9956-ffa450edef68
2001-01-27 23:16:22 +00:00

44 lines
1.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head><title>Manual Page: rotatelogs - Apache HTTP Server</title></head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff"
vlink="#000080" alink="#ff0000">
<!--#include virtual="header.html" -->
<h1 align="center">Manual Page: rotatelogs</h1>
<!-- This document was autogenerated from the man page -->
<pre>
<strong>NAME</strong>
rotatelogs - rotate Apache logs without having to kill the
server
<strong>SYNOPSIS</strong>
<strong>rotatelogs </strong><em>logfile rotationtime</em>
<strong>DESCRIPTION</strong>
<strong>rotatelogs </strong>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.
<strong>OPTIONS</strong>
<em>logfile</em>
The path plus basename of the logfile. The suffix .nnnn
is automatically added.
<em>rotationtime</em>
The rotation time in seconds.
<strong>SEE ALSO</strong>
<strong>httpd(8)</strong>
</pre>
<!--#include virtual="footer.html" -->
</body></html>