Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 91870 invoked from network); 16 Feb 2010 22:23:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2010 22:23:31 -0000 Received: (qmail 97342 invoked by uid 500); 16 Feb 2010 22:23:31 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 97257 invoked by uid 500); 16 Feb 2010 22:23:30 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 97248 invoked by uid 99); 16 Feb 2010 22:23:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 22:23:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 22:23:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B3365238889B; Tue, 16 Feb 2010 22:23:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r910732 - in /httpd/httpd/trunk/docs: man/htcacheclean.8 man/rotatelogs.8 manual/programs/htcacheclean.html.en manual/programs/rotatelogs.html.en Date: Tue, 16 Feb 2010 22:23:09 -0000 To: cvs@httpd.apache.org From: minfrin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100216222309.B3365238889B@eris.apache.org> Author: minfrin Date: Tue Feb 16 22:23:09 2010 New Revision: 910732 URL: http://svn.apache.org/viewvc?rev=910732&view=rev Log: Update transformations. Modified: httpd/httpd/trunk/docs/man/htcacheclean.8 httpd/httpd/trunk/docs/man/rotatelogs.8 httpd/httpd/trunk/docs/manual/programs/htcacheclean.html.en httpd/httpd/trunk/docs/manual/programs/rotatelogs.html.en Modified: httpd/httpd/trunk/docs/man/htcacheclean.8 URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/man/htcacheclean.8?rev=910732&r1=910731&r2=910732&view=diff ============================================================================== --- httpd/httpd/trunk/docs/man/htcacheclean.8 (original) +++ httpd/httpd/trunk/docs/man/htcacheclean.8 Tue Feb 16 22:23:09 2010 @@ -19,7 +19,7 @@ .el .ne 3 .IP "\\$1" \\$2 .. -.TH "HTCACHECLEAN" 8 "2008-04-21" "Apache HTTP Server" "htcacheclean" +.TH "HTCACHECLEAN" 8 "2010-02-16" "Apache HTTP Server" "htcacheclean" .SH NAME htcacheclean \- Clean up the disk cache @@ -30,7 +30,7 @@ \fBhtcacheclean\fR [ -\fBD\fR ] [ -\fBv\fR ] [ -\fBt\fR ] [ -\fBr\fR ] [ -\fBn\fR ] -\fBp\fR\fIpath\fR -\fBl\fR\fIlimit\fR .PP -\fBhtcacheclean\fR [ -\fBn\fR ] [ -\fBt\fR ] [ -\fBi\fR ] -\fBd\fR\fIinterval\fR -\fBp\fR\fIpath\fR -\fBl\fR\fIlimit\fR +\fBhtcacheclean\fR [ -\fBn\fR ] [ -\fBt\fR ] [ -\fBi\fR ] [ -\fBP\fR\fIpidfile\fR ] -\fBd\fR\fIinterval\fR -\fBp\fR\fIpath\fR -\fBl\fR\fIlimit\fR .SH "SUMMARY" @@ -64,6 +64,9 @@ -p\fIpath\fR Specify \fIpath\fR as the root directory of the disk cache\&. This should be the same value as specified with the CacheRoot directive\&. .TP +-P\fIpidfile\fR +Specify \fIpidfile\fR as the name of the file to write the process ID to when daemonized\&. +.TP -l\fIlimit\fR Specify \fIlimit\fR as the total disk cache size limit\&. The value is expressed in bytes by default (or attaching B to the number)\&. Attach K for Kbytes or M for MBytes\&. .TP Modified: httpd/httpd/trunk/docs/man/rotatelogs.8 URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/man/rotatelogs.8?rev=910732&r1=910731&r2=910732&view=diff ============================================================================== --- httpd/httpd/trunk/docs/man/rotatelogs.8 (original) +++ httpd/httpd/trunk/docs/man/rotatelogs.8 Tue Feb 16 22:23:09 2010 @@ -19,7 +19,7 @@ .el .ne 3 .IP "\\$1" \\$2 .. -.TH "ROTATELOGS" 8 "2009-02-02" "Apache HTTP Server" "rotatelogs" +.TH "ROTATELOGS" 8 "2010-02-16" "Apache HTTP Server" "rotatelogs" .SH NAME rotatelogs \- Piped logging program to rotate Apache logs @@ -46,11 +46,14 @@ -f Causes the logfile to be opened immediately, as soon as rotatelogs starts, instead of waiting for the first logfile entry to be read (for non-busy sites, there may be a substantial delay between when the server is started and when the first request is handled, meaning that the associated logfile does not "exist" until then, which causes problems from some automated logging tools) .TP +-t +Causes the logfile to be truncated instead of rotated\&. This is useful when a log is processed in real time by a command like tail, and there is no need for archived data\&. No suffix will be added to the filename, however format strings containing '%' characters will be respected\&. +.TP -v Produce verbose output on STDERR\&. The output contains the result of the configuration parsing, and all file open and close actions\&. .TP \fIlogfile\fR -The path plus basename of the logfile\&. If \fIlogfile\fR includes any '%' characters, it is treated as a format string for strftime(3)\&. Otherwise, the suffix \fI\&.nnnnnnnnnn\fR is automatically added and is the time in seconds\&. Both formats compute the start time from the beginning of the current period\&. For example, if a rotation time of 86400 is specified, the hour, minute, and second fields created from the strftime(3) format will all be zero, referring to the beginning of the current 24-hour period (midnight)\&. +The path plus basename of the logfile\&. If \fIlogfile\fR includes any '%' characters, it is treated as a format string for strftime(3)\&. Otherwise, the suffix \fI\&.nnnnnnnnnn\fR is automatically added and is the time in seconds (unless the -t option is used)\&. Both formats compute the start time from the beginning of the current period\&. For example, if a rotation time of 86400 is specified, the hour, minute, and second fields created from the strftime(3) format will all be zero, referring to the beginning of the current 24-hour period (midnight)\&. .TP \fIrotationtime\fR The time between log file rotations in seconds\&. The rotation occurs at the beginning of this interval\&. For example, if the rotation time is 3600, the log file will be rotated at the beginning of every hour; if the rotation time is 86400, the log file will be rotated every night at midnight\&. (If no data is logged during an interval, no file will be created\&.) @@ -99,6 +102,15 @@ .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\&. +.nf + + CustomLog "|bin/rotatelogs -t /var/logs/logfile 86400" common + +.fi + +.PP +This creates the file /var/logs/logfile, truncating the file at startup and then truncating the file once per day\&. It is expected in this scenario that a separate process (such as tail) would process the file in real time\&. + .SH "PORTABILITY" .PP Modified: httpd/httpd/trunk/docs/manual/programs/htcacheclean.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/programs/htcacheclean.html.en?rev=910732&r1=910731&r2=910732&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/programs/htcacheclean.html.en (original) +++ httpd/httpd/trunk/docs/manual/programs/htcacheclean.html.en Tue Feb 16 22:23:09 2010 @@ -50,6 +50,7 @@ [ -n ] [ -t ] [ -i ] + [ -Ppidfile ] -dinterval -ppath -llimit

@@ -95,6 +96,10 @@
Specify path as the root directory of the disk cache. This should be the same value as specified with the CacheRoot directive.
+
-Ppidfile
+
Specify pidfile as the name of the file to write the + process ID to when daemonized.
+
-llimit
Specify limit as the total disk cache size limit. The value is expressed in bytes by default (or attaching B to the Modified: httpd/httpd/trunk/docs/manual/programs/rotatelogs.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/programs/rotatelogs.html.en?rev=910732&r1=910731&r2=910732&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/programs/rotatelogs.html.en (original) +++ httpd/httpd/trunk/docs/manual/programs/rotatelogs.html.en Tue Feb 16 22:23:09 2010 @@ -65,6 +65,14 @@ associated logfile does not "exist" until then, which causes problems from some automated logging tools)
+
-t
+
Causes the logfile to be truncated instead of rotated. This is +useful when a log is processed in real time by a command like tail, +and there is no need for archived data. No suffix will be added to +the filename, however format strings containing '%' characters +will be respected. +
+
-v
Produce verbose output on STDERR. The output contains the result of the configuration parsing, and all file open and @@ -76,11 +84,12 @@ includes any '%' characters, it is treated as a format string for strftime(3). Otherwise, the suffix .nnnnnnnnnn is automatically added and is the time in -seconds. Both formats compute the start time from the beginning of -the current period. For example, if a rotation time of 86400 is -specified, the hour, minute, and second fields created from the -strftime(3) format will all be zero, referring to the -beginning of the current 24-hour period (midnight).
+seconds (unless the -t option is used). Both formats compute the +start time from the beginning of the current period. For example, +if a rotation time of 86400 is specified, the hour, minute, and +second fields created from the strftime(3) format will +all be zero, referring to the beginning of the current 24-hour +period (midnight).
rotationtime
@@ -148,6 +157,15 @@ will be created of the form errorlog.YYYY-mm-dd-HH_MM_SS.

+

+ CustomLog "|bin/rotatelogs -t /var/logs/logfile 86400" common +

+ +

This creates the file /var/logs/logfile, truncating the file at + startup and then truncating the file once per day. It is expected + in this scenario that a separate process (such as tail) would + process the file in real time.

+
top