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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

web log archive

Status
Not open for further replies.

mturnbo

Programmer
Apr 24, 2001
9
US
I wrote a simple perl script to run as a cron job at midnight that copies the web acess log file to another directory and stamps the filename with the date. I did this to prevent the log file from becoming too large and unmanageable. The script also deletes the log file and then creates a new blank file for new logs. However, the apache server doesn't recognize the new file unless the web server is restarted. Is there some other way to get apache to recognize the new log file? Or is there a better way to do access log archiving?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top