Log file

W3Perl is running with the COMMON logfile format. It also run with the extended common format used by NCSA 1.5


Huge log file

It would be faster if you decide to crunch your logifle each month. Instead of scanning a huge log file, the package will only scan about the current month log file.

How to build monthly crunched log file is explain here


One day log

The package require that the logfile have more than one day's data.
But if your site is pretty busy and you decide to clear the log files each day, it's still possible to use w3perl.
Follow the next instructions.
  1. At midnight, move your current logfile to logfile.old
  2. First day, run cron-pages.pl.
    Next day use cron-inc.pl....
    Cron-inc.pl will scan only the previous day so you need only to keep the previous day log and then destroy it.
  3. Don't forget to run also cron-hour every hour, cron-jour once a day, cron-semaines once a week. You can't use cron-mois.pl, sorry.
Example :

You will have incremental stats with only a one day logfile. Perhaps you can loose some requests around minight.