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

Re: [cobalt-users] log files & rotation



on 9-10-01 8:04 AM, MikeM at MyRaQ@xxxxxxxxx was reported to have made a
statement that said this:

> On 9/10/01 at 7:27 AM David Thurman wrote:
> 
> |on 9-10-01 1:41 AM, Chris Fragogiannis at franki@xxxxxxxx was reported to
> |have made a statement that said this:
> |
> |> I would like to ask if the web.log files of the virtual sites are
> |rotated. The
> |> script 'logrotate' in the daily cron does rotate only the system
> |> log files or the virtual sites log files, too?
> |
> |Chris,
> |I called Cobalt and asked the same question, we use AWSTATS for web
> |statistics and noticed they where not rotating as we wanted. They claim
> |when
> |the log files reach a certain point they will move over. They do not rotate
> |on a daily basis per the tech at Cobalt.
> =============
> 
> 
> 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?
> 
> 
> 
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
> 
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:(
--
Thank you,
David E Thurman
Web Presence Group
309.676.5688
dthurman@xxxxxxxxxxxxxxxxxxxx
http://www.webpresencegroup.net