Re: Syslog file size

From: Tzafrir Cohen (tzafrir_at_nonexisting.hamakor.org.il)
Date: Wed 30 Apr 2003 - 14:31:02 IDT


On Wed, Apr 30, 2003 at 01:15:10PM +0300, Ira Abramov wrote:
> Quoting Ran Milstein, from the post of Wed, 30 Apr:
> > Hi,
> > Does anybody know how can limit the file size created by the syslog server ?
>
> Logrotate will rotate it at certain times, not sizes. you can chang the
> times to get a nice average.

Actually, logrotate will rotate it by size. But it will only check the
log size daily.

See logrotate(8)

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:tzafrir_at_technion.ac.il       +---------------------------+
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il


This archive was generated by hypermail 2.1.7 : Mon 06 Oct 2003 - 23:44:27 IST