.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
.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"
<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>
<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>