Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


centos_openldap_audit_log

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
centos_openldap_audit_log [2015/09/15 11:45] – [CentOS 7 - OpenLDAP 2.4 audit log] admincentos_openldap_audit_log [2015/09/15 11:50] – [configure log rotate] admin
Line 25: Line 25:
 EOF</code> EOF</code>
 ====configure log rotate==== ====configure log rotate====
-  * Configure log rotate+  * Configure log rotate, create the following file /etc/logrotate.d/slapd-audit:<code># vim /etc/logrotate.d/slapd-audit 
 +/var/log/slapd/* { 
 +    notifempty 
 +    missingok 
 +    copytruncate 
 +
 +</code>
centos_openldap_audit_log.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1