I couldn’t automate awstats to load my logfile because apple decided it was very smart to add the weird ‘count back to the seventies’ postfix. And since you can’t use wildchars in your LogFile rule I made this:
LogFile=”/usr/local/awstats/tools/logresolvemerge.pl /var/log/httpd/access_log.* |”
This rule calls upon an external logfile merger that combines all the logsin a specified directory. As you can see you can use wildchars here so by merging one logfile with itsself it works.
Dirty but effective. Combine it with the tip found in another forum thread about not rotating the logs but by purging them yourself in awstats and you’re done !
Comments are closed