Your use of the 'for...' loop should only be done for the first time
through the directory. After that, you only need to process -new-
files in the directory. For example, most web servers will rotate their
logs by placing a numeric digit on the end.. access_log is the current
log, access_log.1 the last most recent rotated log, access_log.2 is the
previous log, etc.. If you want to 'initalize' the webalizer with the
logs in the directory, you do the 'for..' loop thing. After that, you
just need to process the access_log.1 file after it has been rotated.
What you are doing below is still reading all the logs (as per your
instructions in the 'for..' loop), but ignoring those that have already
been processed because you have incremental mode set.
On Fri, 22 Aug 2003, Boulytchev, Vasiliy wrote:
> I call the logs for one site like this:
> for i in /home/logs/webtrends/maine/W3SVC64/*.log;
> do webalizer -F w3c -D /home/logs/webtrends/dns-cache.db -N 20
> -c /home/logs/webtrends/confs/aafs.org.conf $i;
> OK, it worked through about 3 months of daily logs and was finished.
> Incremental is set. When I rerun this script, it starts right
> over............ What am I missing about being incremental
Bradford L. Barrett brad@...
A free electron in a sea of neutrons DoD#1750 KD4NAW
The only thing Micro$oft has done for society, is make people
believe that computers are inherently unreliable.