From: Martin Kraemer
- $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 @@
Apache Server Frequently Asked Questions
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.
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 ++