On Fri, 2003-12-12 at 13:39, Helgi Örn Helgason wrote:
> Is there a way to reduce the sizes of logfiles? For example my fetchmail
> logfile weighs around 50+ MB now.
> Lets say I would like to limit  some logfiles to only keep the logs 30
> days, how would I do that?
> In .fetchmailrc for example?
As a general rule that should be done by your log daemon. I use metalog
log size and history is set in /etc/metalog/metalog.conf. e.g.:

maxsize  = 100000
maxtime  = 86400
maxfiles = 5

Whatever you use as your logging daemon should have this capability too.

Cheers

Dg


--
[EMAIL PROTECTED] mailing list

Reply via email to