iredmail-doc/9-troubleshooting/turn.on.debug.mode.in.openl...

13 lines
458 B
Markdown
Raw Normal View History

2014-09-20 05:42:28 -05:00
# How to turn on debug mode in OpenLDAP
In OpenLDAP config file `slapd.conf`, update parameter `loglevel` to value `256`, then restart OpenLDAP service.
* On RHEL/CentOS and OpenBSD, it's `/etc/openldap/slapd.conf`
* On Debian/Ubuntu, it's `/etc/ldap/slapd.conf`
* On FreeBSD, it's `/usr/local/etc/openldap/slapd.conf`
<pre>
loglevel 256
</pre>
OpenLDAP is configured by iRedMail to log into `/var/log/openldap.log` by default.