View Single Post
Old 03-25-2004, 02:56 AM  
- Jesus Christ -
Confirmed User
 
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
assumeing your running red hat or somthing similar.
the log im reffering to is usually located.
/var/log/httpd/access_log


to change the logfile rotation settings you can edit the file
/etc/logrotate.conf


The file is fairly self-explanitory.


# see "man logrotate" for details
# rotate log files daily
daily

# keep 3 days worth of backlogs
rotate 3
__________________

Amen
- Jesus Christ - is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote