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

Re: [cobalt-users] log files & rotation



On 9/10/01 at 8:50 AM David Thurman wrote:
|
|> Hmmm...  I'm not sure I agree, maybe my reading of the scripts is
|incorrect.
|> 
|> Starting at the cron.daily directory, there is a script called
|logrotate.  All
|> that script does is run logrotate with the config file
|/etc/logrotate.conf
|> 
|> logrotate.conf looks innocuous enough, until to notice the inclusion of
|> /etc/logrotate.d directory.
|> 
|> In the /etc/logrotate.d directory, there is a file for apache.  One of
|the
|> sections for that file refers to the access log files.
|> 
|> The following parameters, among others, are configured for the rotation
|of the
|> access file:
|> - rotate daily
|> - run split_logs before the rotation is performed
|> 
|> 
|> 
|> This tells me that the web access log files are split into the various
|web.log
|> files on a daily basis, regardless of the size of the Apache access log
|file.
|> 
|> Where did I go astray?
|> 
|> 
|I am not an expert by any means. I argued with the tech stating that logs
|would show each day on stats. His claim was that is true but they would not
|show up till the file was larger. I was a little confused but felt that
|arguing was going no where. He stated to call Prof Serv and have then setup
|the logs to rotate on a daily basis. Sales pitch.
|My logs are rotating now. Sorry if I talked out of turn:(
=============

I'm not an expert either, but I would hope and expect that Cobalt techs would supply valid answers to simple questions such as this.

Maybe my analysis is wrong (I've only been running a RaQ since march of this year, I'm new to Linux also).  Hoepfully someone on the list who is more knowledgeable can pop in and offer an opinion on this.

Thanks.