From 060deccba8f9847cba4f48ac76f05ac5f7be5c1f Mon Sep 17 00:00:00 2001 From: Astrid Malo Date: Sun, 25 Apr 2004 22:32:15 +0000 Subject: [PATCH] update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103524 13f79535-47bb-0310-9956-ffa450edef68 --- docs/man/rotatelogs.8 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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" -- 2.40.0