Hello folks, I have followed Falko's tutorial on splitting log files with vlogger and it is acting quite strange. Here are my settings (which are exactly the same by the look of it) Code: #!/bin/sh logdir=/var/log/lighttpd webalizerconf=/etc/webalizer/webalizer.conf logdate=`/bin/date -d "1 day ago" +%m%d%Y` cd ${logdir} for directory in * do if [ -d ${directory} ]; then /usr/bin/webalizer -c ${webalizerconf} -n ${directory} \ -s ${directory} -r ${directory} -q -T -o /var/www/vhosts/${directory}/stats \ ${logdir}/${directory}/${logdate}-access.log fi done exit 0 ..and I have a cron entry like this: Code: 0 4 * * * /root/scripts/webstats &> /dev/null The problem is every night when the webalizer is run, the generated stats only contain 'yesterday', and all the previous traffic stats are gone. ex: (I have installed vlogger more than a month ago, it is only now that I realize it is doing these things ) Has anyone faced this before? Any suggestions would be appreciated Thanks.
Hi Falko, I haven't touched the webalizer config and it is the stock file. Because it is around 600 lines I have pasted it here : http://pastebin.ca/954090 I wonder if the 'Incremental' setting should be set to yes? (EDIT: I've tried it and it didn't change anything...) Thanks.