logrotation with ldap

Posted by user1663896 on Server Fault See other posts from Server Fault or by user1663896
Published on 2012-11-20T19:40:16Z Indexed on 2012/11/22 23:01 UTC
Read the original article Hit count: 158

Filed under:
|
|
|

I need to setup ldap logging with logrotate but I heard there are issues with ldap and syslog concerning log rotation. Here is my logrotate config file for ldap, please take a look to see if it's properly configured:

/var/log/openldap.log { size 1k ifempty rotate 4 compress sharedscripts missingok olddir /var/log/old_ldap_logs postrotate /etc/init.d/slapd restart endscript }

© Server Fault or respective owner

Related posts about unix

Related posts about logging