You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ke...@apache.org on 2004/04/26 00:32:15 UTC
cvs commit: httpd-2.0/docs/man rotatelogs.8
kess 2004/04/25 15:32:15
Modified: docs/man rotatelogs.8
Log:
update transformation
Revision Changes Path
1.20 +10 -1 httpd-2.0/docs/man/rotatelogs.8
Index: rotatelogs.8
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/man/rotatelogs.8,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- rotatelogs.8 2 Dec 2003 11:53:50 -0000 1.19
+++ rotatelogs.8 25 Apr 2004 22:32:15 -0000 1.20
@@ -19,7 +19,7 @@
.el .ne 3
.IP "\\$1" \\$2
..
-.TH "ROTATELOGS" 8 "2003-12-02" "Apache HTTP Server" "rotatelogs"
+.TH "ROTATELOGS" 8 "2004-04-25" "Apache HTTP Server" "rotatelogs"
.SH NAME
rotatelogs \- Piped logging program to rotate Apache logs
@@ -52,6 +52,15 @@
.PP
This configuration will rotate the logfile whenever it reaches a size of 5 megabytes\&.
+
+.nf
+
+ ErrorLog "|bin/rotatelogs /var/logs/errorlog\&.%Y-%m-%d-%H_%M_%S 5M"
+
+.fi
+
+.PP
+This configuration will rotate the error logfile whenever it reaches a size of 5 megabytes, and the suffix to the logfile name will be created of the form errorlog\&.YYYY-mm-dd-HH_MM_SS\&.
.SH "OPTIONS"