At least add a pointer to Andrew Ford's cronolog utility, now that it's
under the Ap.License
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84476 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/docs/manual/misc/FAQ-I.html b/docs/manual/misc/FAQ-I.html
index 80d5165..dbf92bc 100644
--- a/docs/manual/misc/FAQ-I.html
+++ b/docs/manual/misc/FAQ-I.html
@@ -31,7 +31,7 @@
<!--#include virtual="header.html" -->
<H1 ALIGN="CENTER">Apache Server Frequently Asked Questions</H1>
<P>
- $Revision: 1.3 $ ($Date: 1999/07/03 22:12:50 $)
+ $Revision: 1.4 $ ($Date: 2000/01/16 20:52:30 $)
</P>
<P>
The latest version of this FAQ is always available from the main
@@ -82,6 +82,8 @@
</LI>
<LI><A HREF="#search">Does Apache include a search engine?</A>
</LI>
+ <LI><A HREF="#rotate">How can I rotate my log files?</A>
+ </LI>
</OL>
</LI>
<!--#endif -->
@@ -204,6 +206,27 @@
</P>
<HR>
</LI>
+ <LI><A NAME="rotate">
+ <STRONG>How can I rotate my log files?</STRONG>
+ </A>
+ <P>The simple answer: by piping the transfer log into an appropriate
+ log file rotation utility.</P>
+ <P>The longer answer: In the src/support/ directory, you will find a
+ utility called <CODE>rotatelogs</CODE> which can be used like this:<PRE>
+ TransferLog "|/path/to/rotatelogs /path/to/logs/access_log 86400"
+ </PRE> to enable daily rotation of the log files.<BR>
+ A more sophisticated solution of a logfile rotation utility is
+ available under the name <CODE>cronolog</CODE> from Andrew Ford's site at
+ <A HREF="http://www.ford-mason.co.uk/resources/cronolog/"
+ >http://www.ford-mason.co.uk/resources/cronolog/</A>. It can automatically
+ create logfile subdirectories based on time and date, and can have a
+ constant symlink point to the rotating logfiles. (As of version 1.6.1,
+ cronolog is available under the <A HREF="../LICENSE">Apache License</A>).
+ Use it like this:<PRE>
+ CustomLog "|/path/to/cronolog --symlink=/usr/local/apache/logs/access_log /usr/local/apache/logs/%Y/%m/access_log" combined
+ </PRE></P>
+ <HR>
+ </LI>
</OL>
<!--#endif -->
<!--#if expr="$STANDALONE" -->