Closed davidcoutadeur closed 2 years ago
new 2.6 version relies on logfile directive See ITS#6949 https://bugs.openldap.org/show_bug.cgi?id=6949
For information, see this config example: (taken from https://bugs.openldap.org/show_bug.cgi?id=6949)
ldapmodify -x -H ldapi:/// -D cn=config -w secret
dn: cn=config
changetype: modify
add: olcLogFile
olcLogFile: /var/symas/slapd.log
-
add: olcLogFileOnly
olcLogFileOnly: TRUE
-
add: olcLogFileRotate
olcLogFileRotate: 12 10 1
Integrated in slapd-cli 2.9, included in openldap LTB 2.6.2 release
What's working in 2.5.7 is quite similar to 2.4 logging features:
Sources:
Seems there is work for a global refactoring of logging system. Wait and see in 2.6 / 3.0 OpenLDAP version