ltb-project / openldap-deb

Debian packages for OpenLDAP
http://ltb-project.org/wiki/documentation/openldap-deb
GNU General Public License v3.0
14 stars 13 forks source link

check new logging options in openldap 2.6 #69

Closed davidcoutadeur closed 2 years ago

davidcoutadeur commented 2 years ago

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

davidcoutadeur commented 2 years ago

new 2.6 version relies on logfile directive See ITS#6949 https://bugs.openldap.org/show_bug.cgi?id=6949

davidcoutadeur commented 2 years ago

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
davidcoutadeur commented 2 years ago

Integrated in slapd-cli 2.9, included in openldap LTB 2.6.2 release