How do I get openldap on Centos 6 to write anything to it's log files

Solution 1:

I haven't tried olcLogFile but by default, OpenLDAP log all information to rsyslog's local4 facility.

Add the following line to /etc/rsyslog.conf or /etc/rsyslog.d/ldap.conf:

local4.*                        /var/log/ldap.log

Restart the rsyslog service and check out this log.

Solution 2:

olcLogFile is only used on Windows because it lacks syslog.

The way to do log on your system is which that @quanta answered.