summaryrefslogtreecommitdiffstats
path: root/docs/man/rotatelogs.8
diff options
context:
space:
mode:
authorAstrid Malo <kess@apache.org>2004-04-26 00:32:15 +0200
committerAstrid Malo <kess@apache.org>2004-04-26 00:32:15 +0200
commit060deccba8f9847cba4f48ac76f05ac5f7be5c1f (patch)
treed7a97c46703e950a7e2753fb45401cf57c9d7a86 /docs/man/rotatelogs.8
parentlot of new Korean translations (diff)
downloadapache2-060deccba8f9847cba4f48ac76f05ac5f7be5c1f.tar.xz
apache2-060deccba8f9847cba4f48ac76f05ac5f7be5c1f.zip
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103524 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/man/rotatelogs.8')
-rw-r--r--docs/man/rotatelogs.811
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/man/rotatelogs.8 b/docs/man/rotatelogs.8
index c1144472c0..087ad5ab3f 100644
--- a/docs/man/rotatelogs.8
+++ b/docs/man/rotatelogs.8
@@ -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"