|
From: Jamie C. <jca...@we...> - 2006-04-03 21:45:20
|
One option would be to have logrotate run awstats just before rotating the log file. However, a better solution would be for Webmin / Virtualmin to handle this automatically, by setting the logFile option in awstats.XXX.conf to some program that outputs all compressed / rotates logs. The down side here is that this would make log processing much slower, as all rotated files would need to be un-compressed each time awstats is run.. - Jamie On 3/Apr/2006 16:17 Joaquim Homrighausen wrote .. > > OK; any idea on how I could solve this with webmin? I mean, presumably > I'm not the only one using log rotation to limit the size of a log file > and to make it/them more manageable. So how would one handle a situation > where stats aren't generated for a given run and must be generated on the > next run, when there's also fresh "today's" stats to be processed. > > Looking at the LogFile directive for Awstats, this is listed: > > # You can also use a pipe if log file come from a pipe. > # Example: "gzip -d </var/log/apache/access.log.gz |" > # If there is several log files from load balancing servers : > # Example: "/pathtotools/logresolvemerge.pl *.log |" > > Perhaps WM could allow for this? > > -joho > > > (awstats 6.5 is apparently out, see http://sourceforge.net/forum/forum.php?forum_id=3D528068) > > > > ------------------------- > Ursprungligt Meddelande: > Fr=E5n: Jamie Cameron <jca...@we...> > Till: web...@li... > Datum: m=E5ndag, 3 april 2006 17:37 > =C4mne: Re: [webmin-l] Awstats module failing on SuSE 10 > > I don't think AWstats supports that unfortunately .. but anyone else should > feel free to correct me if I am wrong :) |