# # apachelogrotate.cfg - sample config file for apachelogrotate.pl # Copyright (C) 2002 - Anthony Tonns # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # --- # # Apache Installation Dir. Log Save Location Needed Space # /usr/local/apache /home/logs/web 100000 # # the above example rotates /usr/local/apache/logs/access # and errors to /home/logs/web/YYYMMDD.access.gz and YYYMMDD.errors.gz # if there is 100000kb free on the disk that contains /home/logs/web # # NOTE: delimeter between the fields is whitespace (perl: \s+) # ALSO NOTE: lines that are blank, or start with "#" are ignored # /usr/local/apache /home/logs/web 2048