[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Big Logs



On Oct 8 at 2:52pm, Andrew Bacchi wrote:

> Here is what I put in /etc/logrotate.d/slapd:
>
> /var/log/slapd.log {
>         postrotate
>                 /sbin/service ldap restart

No need to recycle ldap after moving the log.  It's syslog that's
writing to that file, not LDAP.

>         endscript
>         }

All I did was modify the existing /etc/logrotate.d/syslog to add the
/var/log/slapd.log file to the list that get rotated.

-- 
Frank Swasey                    | http://www.uvm.edu/~fcs
Systems Programmer              | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
                    === God Bless Us All ===