[Pkg-awstats-devel] Bug#590074: Bug#590074: awstats: DO NOT use cron scripts to update stats database

Ximin Luo infinity0 at gmx.com
Fri Jul 23 18:35:51 UTC 2010


On 23/07/10 18:54, Sergey B Kirpichev wrote:
>> I guess because I haven't written a proper config file yet? Anyway, it's
>> still spamming my syslog *every 10 minutes*. This should at least be an
>> option that's off by default.
>
> It's a fresh install, right?
>

yeah.

>> logrotate is part of the standard install for Debian webservers (at least
>> apache2 and lighttpd). this is not "site specific".
>
> Yes, but your logrotate settings is very "site specific" and far, far
> away from defaults...

Where did I suggest that I edited my logrotate scripts? They are unchanged 
since being installed...

Or do you mean the solution I proposed? AFAICS Debian utility packages normally 
assume they're going to be used on/by other Debian packages, so it's fine to 
assume that awstats is being installed for the logs on some local Debian 
webserver package.

In fact, the solution I described in the cloned bug reports above, won't put 
any extra effort on awstats maintenance:

- awstats adds some update scripts into <DIR>. job done on the awstats side.
- default logrotate scripts of various webservers call <DIR> when rotating 
logs. (what I made those cloned reports for)
- if a site admin wants to use non-default log settings, then they'll need to 
edit their logrotate scripts anyhow.

X





More information about the Pkg-awstats-devel mailing list