I have written the script apachelogrotate.pl for my Linux web server Apache, because the log files were growing and growing while I didn't find a log rotate program suitable for my needs.

These are the features I implemented:

The script requires:

The current release is 0.1.5; you may download it as:

Documentation and some configuration options are included in the file itself (open it with a text editor). You may use the script (under GPL), but there is absolutely no warranty that this script serves any purpose.