OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: logfiles are too big

From: Liviu Daia (Liviu.Daiaimar.ro)
Date: Thu Apr 01 2004 - 16:29:01 CST


On 1 April 2004, LuKreme <kremelskreme.com> wrote:
> On Apr 1, 2004, at 4:57 AM, lst_hoe01kwsoft.de wrote:
> > Zitat von "Streng, Tobias" <Tobias.Strengschimmelverlag.de>:
> >
> >> Hi! I already set up my postfix server. Is there any tool or
> >> something, which can delete parts of the syslog logfile? (its
> >> already 1 GB after 1 week of running the system)
> >>
> >> and: which logfiles are created by postfix?
> >
> > logrotate is your friend ..
>
> how about on bsd where logrotate does not appear to exist? (rotatelogs
> exists, but is apache specific).
>
> if I change the log for mail to
>
> mail.info /var/log/postfix
>
> then postfix doesn't get rotated.

        man 8 newsyslog

    Regards,

    Liviu Daia

--
Dr. Liviu Daia
Institute of Mathematics of the Romanian Academy