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