From: Astrid Malo Date: Wed, 28 Apr 2004 22:07:31 +0000 (+0000) Subject: backport from 2.1 X-Git-Tag: 2.0.50~148 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d090ee7e2be77b02f91ee117f35ce2f282260c23;p=thirdparty%2Fapache%2Fhttpd.git backport from 2.1 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103545 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/man/rotatelogs.8 b/docs/man/rotatelogs.8 index 81836bd3d6d..da10ea79a1b 100644 --- a/docs/man/rotatelogs.8 +++ b/docs/man/rotatelogs.8 @@ -19,7 +19,7 @@ .el .ne 3 .IP "\\$1" \\$2 .. -.TH "ROTATELOGS" 8 "2004-01-06" "Apache HTTP Server" "rotatelogs" +.TH "ROTATELOGS" 8 "2004-04-28" "Apache HTTP Server" "rotatelogs" .SH NAME rotatelogs \- Piped logging program to rotate Apache logs @@ -53,6 +53,15 @@ This creates the files /var/logs/logfile\&.nnnn where nnnn is the system time at .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" diff --git a/docs/manual/programs/rotatelogs.html.en b/docs/manual/programs/rotatelogs.html.en index 8e15809ef6c..33751c43e87 100644 --- a/docs/manual/programs/rotatelogs.html.en +++ b/docs/manual/programs/rotatelogs.html.en @@ -40,7 +40,15 @@

This configuration will rotate the logfile whenever it reaches a size of 5 megabytes.

- + +

+ ErrorLog "|bin/rotatelogs /var/logs/errorlog.%Y-%m-%d-%H_%M_%S 5M" +

+

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.

+