httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Giovannoni" <t...@ct5.com>
Subject RE: Log Rotation
Date Thu, 14 Mar 2002 21:05:12 GMT
If Im not mistaken, logrotate.conf - /etc  -- It may be possible to
create a cron job out of it, though... 




-----Original Message-----
From: Matthew Daubenspeck [mailto:matt@oddprocess.org] 
Sent: Thursday, March 14, 2002 12:05 PM
To: users@httpd.apache.org
Subject: Log Rotation

I am using Apache/1.3.9 with debian 2.2rev5 [potato]

I have a mess of Named Virtual hosts, all with their own Custom error
and 
access logs in separate directories. Will the cron.conf file that
controls 
the log rotation rotate ALL logs automatically, or logs only in the
default 
log directory?

# Debian Apache cron.daily config file

# Number of logs to keep.
APACHE_OLD_LOGS=52

# Which day of the week to run log rotation stuff on, case insensitive.
# Allowed values are one or more of: Mon,Tue,Wed,Thu,Fri,Sat,Sun,All
APACHE_DAYS_TO_RUN=Sun

# Which exact day to run log rotation stuff, if not "any" this
# supercedes the above.  Allowed values are a day of month between 01
# and 32, or a day of year between 001 and 366.  Set to "01" for
# Webalyzer and analog, but note logfiles can get huge.
APACHE_DAY_TO_RUN=any

# Pre-rotation script to run (leave blank if none).
# APACHE_PRE_SCRIPT=/usr/local/sbin/run_analog

# Post-rotation script to run (leave blank if none).
# APACHE_POST_SCRIPT=/usr/local/sbin/run_analog

# Whether to chown logfiles to the user/group Apache runs as.
APACHE_CHOWN_LOGFILES=1



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message