]> granicus.if.org Git - apache/blobdiff - docs/man/rotatelogs.8
update transformation
[apache] / docs / man / rotatelogs.8
index c1144472c0d05279ec01351031db8d01b4730bf5..087ad5ab3f37f93e7a115d0496c66433c31cd8b6 100644 (file)
@@ -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
@@ -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"