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

Re: [cobalt-users] RAQ3 Logs



Hi:-)

I just enter by telnet, root and go to /etc/logrotate.d or
/etc/logrotate.onboot folders..

There, I type : man logrotate
and appears the following:

LOGROTATE(8)                                         LOGROTATE(8)

NAME
       logrotate - rotates, compresses, and mails system logs

SYNOPSIS
       logrotate   [-dv]   [-f|--force]  [-s|--state  file]  con­
       fig_file+

DESCRIPTION
       logrotate is designed to ease  administration  of  systems
       that generate large numbers of log files.  It allows auto<AD>
       matic rotation, compression, removal, and mailing  of  log
       files.   Each  log  file  may  be  handled  daily, weekly,
       monthly, or when it grows too large.

       Normally, logrotate is run as a daily cron job.   It  will
       not modify a log multiple times in one day unless the cri<AD>
       terium for that log is based on the log's size and  logro<AD<AD>
       tate  is  being run multiple times each day, or unless the
       -f or -force option is used.
:

But I don´t know how do it to setup the LOG to rotate weekly .-(
Do you know what is the exact comand to do it ?

Many many thanks in advance.-)

regards
Fabian

----- Original Message -----
From: "Jay Summers" <jay@xxxxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, January 11, 2001 4:29 PM
Subject: Re: [cobalt-users] RAQ3 Logs


> > Hi..
> >
> > I have the same problem...
> >
> > How I can to setup the log to rotate weekly and not daily ?
> >
> > I enter by telnet .... and there? what is the sintaxis?
> >
> > regards Fabain
>
> <big snip of top post>
>
> Look in the /etc/logrotate.d and /etc/logrotate.onboot folder. This is
where
> the logrotate configuration files are for your virtual sites. Do a "man
> logrotate" for configuration options.
>
> Jay
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>