[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] web.log



> Thnx!
> I see now that I have 2 ways to approach this.
> 
> 1. set_logratate.pl - change the % size for logfiles, of allocated
> diskspace

I may be wrong but I think that the set_logrotate.pl will create the
site# files when you create a site but will not modify it if you change
the disk size allotment.

> 2. /etc/logrotate.d/site# - config the size limitation individually
for
> each
> site.
> 
> Any suggestions on which is the better way to go? I imagine the global
> set_logrotate.pl approach.
> 
> When the log gets "rotated," does is just parse out the oldest
entries, or
> does it do a clean-out of all data?
> 
> I'm assuming that any deletion of log data will affect Webalizer
stats, in
> that it will not have/show the data that was "rotated out"?
> 

Not sure about Webalizer, but for Awstats, if the site is getting lots
of hits and the logrotate is set too low I would miss days on the stats.

> thnx for these clarifications,
> Manny
>