Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to rotate access logs in apache

Status
Not open for further replies.

shantec

Technical User
Oct 20, 2002
29
TR
i'm trying to rotate my access logs, so that i have it parsed by date, as a different file, each day.

i have written this in my httpd.conf, by altering this line, but didn't work.


TransferLog /path/to/logs/access.log
#TransferLog "|rotatelogs/path/to/logs/access.log 86400"

and what is a good opensource apache web log analysis program other than webalizer?also customizable

i would certainly appreciate your help,

shann






 
RedHat uses logrotate for log rotation. You can also add some statement to appropriate configuration file for this program to rename files to your desired form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top