<quote who="Ian Moroney">
Hi guys. How can i set up logging for openldap so i can find out why the damn thing won't start? :P i've got the good old ldap_bind: can't contact LDAP server (-1) problem... and i'd like to look at a log file to see what is causing the problem I know how to set the loglevel to 256 in the configuration file, but no idea what file to look at for the output. Help! :D
Add to your syslog.conf:
LOCAL4.* -/var/log/openldap.log
etc. and restart slapd and syslog
See:
http://www.openldap.org/faq/data/cache/80.html