Forum Moderators: phranque
Today my daily log file is around 2.5mb (accesslog_example.com_7_11_2006) and contains data from july 1st. monthly log file (example.com-Jun-2006) was last updated on June 30th and no monthly log file for july yet.
i have a program which takes daily log and display statistics for today. so to see today's stats i have to download stats from 1st and it is eating my bandwidth.
Plese help...
Name-based virtual hosting providers use scripts -- typically run as 'cron jobs' -- to split up this one main access log file into per-domain logs based upon the logged Hostname in the HTTP request field. Sometimes, these scripts fail to run for various reasons, leaving the 'daily log file' that they are supposed to create empty.
Therefore, this question is best directed to your hosting provider, as it has little to do with the actual Apache server program.
Jim
[edited by: jdMorgan at 6:38 pm (utc) on July 11, 2006]
This is a relatively common problem; Either the cron job 'stalls' and fails to start the log-sorting script, or the script fails to complete the sorting process on all hosted sites because the server is over-populated. The most common cure is to simply re-start the server.
Jim