From: Martin Kraemer Date: Sun, 16 Jan 2000 20:52:30 +0000 (+0000) Subject: At least add a pointer to Andrew Ford's cronolog utility, now that it's X-Git-Tag: 1.3.10~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a32dc6ee44c0b5650af92871896dce53ca142d9c;p=apache 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 80d51656bf..dbf92bc292 100644 --- a/docs/manual/misc/FAQ-I.html +++ b/docs/manual/misc/FAQ-I.html @@ -31,7 +31,7 @@

Apache Server Frequently Asked Questions

- $Revision: 1.3 $ ($Date: 1999/07/03 22:12:50 $) + $Revision: 1.4 $ ($Date: 2000/01/16 20:52:30 $)

The latest version of this FAQ is always available from the main @@ -82,6 +82,8 @@

  • Does Apache include a search engine?
  • +
  • How can I rotate my log files? +
  • @@ -204,6 +206,27 @@


    +
  • + How can I rotate my log files? + +

    The simple answer: by piping the transfer log into an appropriate + log file rotation utility.

    +

    The longer answer: In the src/support/ directory, you will find a + utility called rotatelogs which can be used like this:

    +   TransferLog "|/path/to/rotatelogs /path/to/logs/access_log 86400"
    +  
    to enable daily rotation of the log files.
    + A more sophisticated solution of a logfile rotation utility is + available under the name cronolog from Andrew Ford's site at + http://www.ford-mason.co.uk/resources/cronolog/. 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 Apache License). + Use it like this:
    +   CustomLog "|/path/to/cronolog --symlink=/usr/local/apache/logs/access_log /usr/local/apache/logs/%Y/%m/access_log" combined
    +  

    +
    +