summaryrefslogtreecommitdiffstats
path: root/docs/man
diff options
context:
space:
mode:
authorDaniel Earl Poirier <poirier@apache.org>2010-02-25 19:04:44 +0100
committerDaniel Earl Poirier <poirier@apache.org>2010-02-25 19:04:44 +0100
commit31764ef2666165ece31d760dc963504f7a191001 (patch)
tree1e3bdc1e828f8751a16dc324127c8f25f47f1fff /docs/man
parentAdd -L option to create a hard link to the current log file. (diff)
downloadapache2-31764ef2666165ece31d760dc963504f7a191001.tar.xz
apache2-31764ef2666165ece31d760dc963504f7a191001.zip
Update transforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@916381 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/rotatelogs.87
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/man/rotatelogs.8 b/docs/man/rotatelogs.8
index a653c83859..7254a57ebc 100644
--- a/docs/man/rotatelogs.8
+++ b/docs/man/rotatelogs.8
@@ -19,7 +19,7 @@
.el .ne 3
.IP "\\$1" \\$2
..
-.TH "ROTATELOGS" 8 "2010-02-16" "Apache HTTP Server" "rotatelogs"
+.TH "ROTATELOGS" 8 "2010-02-19" "Apache HTTP Server" "rotatelogs"
.SH NAME
rotatelogs \- Piped logging program to rotate Apache logs
@@ -27,7 +27,7 @@ rotatelogs \- Piped logging program to rotate Apache logs
.SH "SYNOPSIS"
.PP
-\fBrotatelogs\fR [ -\fBl\fR ] [ -\fBf\fR ] [ -\fBv\fR ] \fIlogfile\fR \fIrotationtime\fR|\fIfilesize\fR(B|K|M|G) [ \fIoffset\fR ]
+\fBrotatelogs\fR [ -\fBl\fR ] [ -\fBL\fR \fIlinkname\fR ] [ -\fBf\fR ] [ -\fBv\fR ] \fIlogfile\fR \fIrotationtime\fR|\fIfilesize\fR(B|K|M|G) [ \fIoffset\fR ]
.SH "SUMMARY"
@@ -43,6 +43,9 @@ rotatelogs is a simple program for use in conjunction with Apache's piped logfil
-l
Causes the use of local time rather than GMT as the base for the interval or for strftime(3) formatting with size-based rotation\&. Note that using -l in an environment which changes the GMT offset (such as for BST or DST) can lead to unpredictable results!
.TP
+-L \fIlinkname\fR
+Causes a hard link to be made from the current logfile to the specified link name\&. This can be used to watch the log continuously across rotations using a command like tail -F linkname\&.
+.TP
-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