8ce0f5af89
http://www.apache.org/dist/httpd/CHANGES_2.2.9 Also fix LIB_DEPENDS and use the external pcre library instead of the shipped one. ok dlg@, simon@, merdely@ (pre-lock)
75 lines
3.8 KiB
Plaintext
75 lines
3.8 KiB
Plaintext
$OpenBSD: patch-docs_man_rotatelogs_8,v 1.4 2008/09/02 22:05:23 bernd Exp $
|
|
--- docs/man/rotatelogs.8.orig Thu Jul 24 12:24:38 2008
|
|
+++ docs/man/rotatelogs.8 Thu Jul 24 12:25:28 2008
|
|
@@ -19,21 +19,21 @@
|
|
.el .ne 3
|
|
.IP "\\$1" \\$2
|
|
..
|
|
-.TH "ROTATELOGS" 8 "2008-05-10" "Apache HTTP Server" "rotatelogs"
|
|
+.TH "ROTATELOGS2" 8 "2008-05-10" "Apache HTTP Server" "rotatelogs"
|
|
|
|
.SH NAME
|
|
-rotatelogs \- Piped logging program to rotate Apache logs
|
|
+rotatelogs2 \- Piped logging program to rotate Apache logs
|
|
|
|
.SH "SYNOPSIS"
|
|
|
|
.PP
|
|
-\fBrotatelogs\fR [ -\fBl\fR ] [ -\fBf\fR ] \fIlogfile\fR \fIrotationtime\fR|\fIfilesize\fRM [ \fIoffset\fR ]
|
|
+\fBrotatelogs2\fR [ -\fBl\fR ] [ -\fBf\fR ] \fIlogfile\fR \fIrotationtime\fR|\fIfilesize\fRM [ \fIoffset\fR ]
|
|
|
|
|
|
.SH "SUMMARY"
|
|
|
|
.PP
|
|
-rotatelogs is a simple program for use in conjunction with Apache's piped logfile feature\&. It supports rotation based on a time interval or maximum size of the log\&.
|
|
+rotatelogs2 is a simple program for use in conjunction with Apache's piped logfile feature\&. It supports rotation based on a time interval or maximum size of the log\&.
|
|
|
|
|
|
.SH "OPTIONS"
|
|
@@ -44,7 +44,7 @@ rotatelogs is a simple program for use in conjunction
|
|
Causes the use of local time rather than GMT as the base for the interval or for strftime(3) formatting with size-based rotation\&. Note that using -l in an environment which changes the GMT offset (such as for BST or DST) can lead to unpredictable results!
|
|
.TP
|
|
-f
|
|
-Causes the logfile to be opened immediately, as soon as rotatelogs starts, instead of waiting for the first logfile entry to be read (for non-busy sites, there may be a substantial delay between when the server is started and when the first request is handled, meaning that the associated logfile does not "exist" until then, which causes problems from some automated logging tools)\&. \fIAvailable in version 2\&.2\&.9 and later\&.\fR
|
|
+Causes the logfile to be opened immediately, as soon as rotatelogs2 starts, instead of waiting for the first logfile entry to be read (for non-busy sites, there may be a substantial delay between when the server is started and when the first request is handled, meaning that the associated logfile does not "exist" until then, which causes problems from some automated logging tools)\&. \fIAvailable in version 2\&.2\&.9 and later\&.\fR
|
|
.TP
|
|
\fIlogfile\fR
|
|
The path plus basename of the logfile\&. If \fIlogfile\fR includes any '%' characters, it is treated as a format string for strftime(3)\&. Otherwise, the suffix \fI\&.nnnnnnnnnn\fR is automatically added and is the time in seconds\&. Both formats compute the start time from the beginning of the current period\&. For example, if a rotation time of 86400 is specified, the hour, minute, and second fields created from the strftime(3) format will all be zero, referring to the beginning of the current 24-hour period (midnight)\&.
|
|
@@ -62,7 +62,7 @@ The number of minutes offset from UTC\&. If omitted, z
|
|
|
|
.nf
|
|
|
|
- CustomLog "|bin/rotatelogs /var/logs/logfile 86400" common
|
|
+ CustomLog "|bin/rotatelogs2 /var/logs/logfile 86400" common
|
|
|
|
.fi
|
|
|
|
@@ -71,7 +71,7 @@ This creates the files /var/logs/logfile\&.nnnn where
|
|
|
|
.nf
|
|
|
|
- CustomLog "|bin/rotatelogs -l /var/logs/logfile\&.%Y\&.%m\&.%d 86400" common
|
|
+ CustomLog "|bin/rotatelogs2 -l /var/logs/logfile\&.%Y\&.%m\&.%d 86400" common
|
|
|
|
.fi
|
|
|
|
@@ -80,7 +80,7 @@ This creates the files /var/logs/logfile\&.yyyy\&.mm\&
|
|
|
|
.nf
|
|
|
|
- CustomLog "|bin/rotatelogs /var/logs/logfile 5M" common
|
|
+ CustomLog "|bin/rotatelogs2 /var/logs/logfile 5M" common
|
|
|
|
.fi
|
|
|
|
@@ -89,7 +89,7 @@ This configuration will rotate the logfile whenever it
|
|
|
|
.nf
|
|
|
|
- ErrorLog "|bin/rotatelogs /var/logs/errorlog\&.%Y-%m-%d-%H_%M_%S 5M"
|
|
+ ErrorLog "|bin/rotatelogs2 /var/logs/errorlog\&.%Y-%m-%d-%H_%M_%S 5M"
|
|
|
|
.fi
|
|
|