Log rotation, how to set it ?

2000-12-31 Thread Benj
Hi, my log rotation happens once a week on sunday.
Which file should I edit to have it lets say happen each day ? How do I set
log rotation ?

Thanks,
Benj



Re: Log rotation, how to set it ?

2000-12-31 Thread Denis Kosygin
[EMAIL PROTECTED] (Benj) writes:

 Hi, my log rotation happens once a week on sunday.
 Which file should I edit to have it lets say happen each day ? How do I set
 log rotation ?

I do not know how the details vary from version to version but on my
system (potato, logrotate-3.2) there is a script
/etc/cron.daily/logrotate.  Perhaps yours is in /etc/cron.weekly?  In
that case move it to /etc/cron.daily.  Various parameters for log
rotation may be set in /etc/logrotate.conf.

HTH.  Denis



Re: Log rotation, how to set it ?

2000-12-31 Thread Benj



 On Sun, Dec 31, 2000 at 02:37:08PM +0100, Benj wrote:
  Hi, my log rotation happens once a week on sunday.
  Which file should I edit to have it lets say happen each day ? How do
  I set log rotation ?
 
 Assuming you use 'logrotate', there is the config file
 /etc/logrotate.conf.
 


Ok i'v specified in this file to logrotate daily instead of weekly.
Should I restart anything ?

Thanks,
Benj