[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] log stopped
- Subject: Re: [cobalt-users] log stopped
- From: Kris Dahl <krislists@xxxxxxxxxxxxx>
- Date: Fri Sep 29 11:53:03 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
on 9/29/00 10:54 AM, Theodore Jones at theoj@xxxxxxxxxxxxx wrote:
> Steven,
>
> So do you mean that it is linux kernal specific that the file size can't go
> larger than 2G?
> I'm not complaining, but just surprised. I only have four allbeit busy sites
> on
> my RaQ3i,
> but some of the admins here have upwards of a hundred on theirs... I'm
> surprised
> nobody else
> here has ever reported problems with the log file getting too large to
> continue?!
>
> Since "how to rotate the logs manually" is not covered in the oh-so-helpful
> and
> detailed User's
> Manauls, might you advise me on the correct commands to do it msyelf?
A 2GB log file, theoretically isn't that crazy. I've had ones close to that
myself, over time. But this problem never affected me because I rotate
logs, for more than just this reason. Large files like that are difficult
to back up, parse, and in general deal with. I'd rather have 12 files for
the last year's log files than one big one for the entire year.
logrotate is the command you want to use. Docs are availible by using the
'man logrotate' command.
-k