]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
backport from 2.1
authorAstrid Malo <kess@apache.org>
Wed, 28 Apr 2004 22:07:31 +0000 (22:07 +0000)
committerAstrid Malo <kess@apache.org>
Wed, 28 Apr 2004 22:07:31 +0000 (22:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103545 13f79535-47bb-0310-9956-ffa450edef68

docs/man/rotatelogs.8
docs/manual/programs/rotatelogs.html.en
docs/manual/programs/rotatelogs.xml

index 81836bd3d6db10a18901610610a04f54145b3ef1..da10ea79a1b8e9c06b8330904411520badf66d89 100644 (file)
@@ -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"
  
index 8e15809ef6c3a0220d78d2eafa66d9502e7cae3b..33751c43e87380199300f73319c0c80ec5d23160 100644 (file)
 
      <p>This configuration will rotate the logfile whenever it reaches
      a size of 5 megabytes.</p>
-        
+   
+<div class="example"><p><code>
+     ErrorLog "|bin/rotatelogs /var/logs/errorlog.%Y-%m-%d-%H_%M_%S 5M"
+</code></p></div>
+     <p>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
+     <code>errorlog.YYYY-mm-dd-HH_MM_SS</code>.</p>
 </div>
 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
index eafe93193e36e4c5080f5fcd98131cc0060020c3..f00248848a004173695a5c0c963f8c415c368490 100644 (file)
 
      <p>This configuration will rotate the logfile whenever it reaches
      a size of 5 megabytes.</p>
-        
+   
+<example>
+     ErrorLog "|bin/rotatelogs /var/logs/errorlog.%Y-%m-%d-%H_%M_%S 5M"
+</example>
+     <p>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
+     <code>errorlog.YYYY-mm-dd-HH_MM_SS</code>.</p>
 </summary>
 
 <section id="synopsis"><title>Synopsis</title>