You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2020/05/13 20:45:09 UTC
svn commit: r1877709 - in /httpd/httpd/branches/2.4.x: ./
docs/manual/programs/rotatelogs.xml
Author: covener
Date: Wed May 13 20:45:09 2020
New Revision: 1877709
URL: http://svn.apache.org/viewvc?rev=1877709&view=rev
Log:
Merge r1877708 from trunk:
mention relative path behavior, offline question
Modified:
httpd/httpd/branches/2.4.x/ (props changed)
httpd/httpd/branches/2.4.x/docs/manual/programs/rotatelogs.xml
Propchange: httpd/httpd/branches/2.4.x/
------------------------------------------------------------------------------
Merged /httpd/httpd/trunk:r1877708
Modified: httpd/httpd/branches/2.4.x/docs/manual/programs/rotatelogs.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/programs/rotatelogs.xml?rev=1877709&r1=1877708&r2=1877709&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/programs/rotatelogs.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/programs/rotatelogs.xml Wed May 13 20:45:09 2020
@@ -59,10 +59,16 @@ interval or for <code>strftime(3)</code>
rotation.</dd>
<dt><code>-L</code> <var>linkname</var></dt>
-<dd>Causes a hard link to be made from the current logfile
+<dd><p>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
-<code>tail -F linkname</code>.</dd>
+<code>tail -F linkname</code>.</p>
+<p>If the linkname is not an absolute
+path, it is relative to <code>rotatelogs</code>' working directory,
+which is the <directive module="core">ServerRoot</directive> when
+<code>rotatelogs</code> is run by the server.
+</p>
+</dd>
<dt><code>-p</code> <var>program</var></dt>
@@ -137,6 +143,11 @@ one. For example, if <var>logfile</var>
megabytes, but 5 megabytes was reached twice in the same day, the
same log file name would be produced and log rotation would keep
writing to the same file.</p>
+<p>If the logfile is not an absolute
+path, it is relative to <code>rotatelogs</code>' working directory,
+which is the <directive module="core">ServerRoot</directive> when
+<code>rotatelogs</code> is run by the server.
+</p>
</dd>
<dt><code><var>rotationtime</var></code></dt>