OpenLDAP logs though Syslog facilities.
In slapd.conf
loglevel 256
In /etc/syslog.conf
local4.* -/var/log/slapd.log
Note the '-' before the full path of the logfile. It means asynchronous logging. Remove the '-' and syslog will write log synchronously and consequently slow down OpenLDAP.
Don't forget to restart both syslog and OpenLDAP. On Debian :
/etc/init.d/sysklogd restart /etc/init.d/slapd restart

Comments
Post new comment