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

Re: [cobalt-users] clean-out error and access logs



On Thu, 7 Dec 2000, Filiberto Ricci wrote:

> Hi!
> Once I "cleaned" the error log by renaming it.
> Just call it error1.
> The server will start writing in a new error  file.
> In this way you will not lose your old log.

be carefull tho, this doesn't wrk for all services, in fact, it doesn't
for most, you have to restart the services after to make them close the
old log and open a new one, some services require that you create an ampty
file for them with the right permissions, it's best to let logrorate
scripts do this, if you don't like how much space they take up it's fairly
easy to edit them and specify a smaller size limit...