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

17 lines
842 B
HTML
Raw Normal View History

2014-09-20 05:42:28 -05:00
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> Turn on debug mode in OpenLDAP </title>
2014-09-20 05:42:28 -05:00
<link href="../css/markdown.css" rel="stylesheet"></head>
</head>
<body>
<h1 id="turn-on-debug-mode-in-openldap">Turn on debug mode in OpenLDAP</h1>
2014-09-20 05:42:28 -05:00
<p>In OpenLDAP config file <code>slapd.conf</code>, update parameter <code>loglevel</code> to value <code>256</code>, then restart OpenLDAP service.
* On RHEL/CentOS and OpenBSD, it's <code>/etc/openldap/slapd.conf</code>
* On Debian/Ubuntu, it's <code>/etc/ldap/slapd.conf</code>
* On FreeBSD, it's <code>/usr/local/etc/openldap/slapd.conf</code></p>
2014-09-20 05:55:33 -05:00
<pre><code>loglevel 256
</code></pre>
2014-09-20 05:42:28 -05:00
<p>OpenLDAP is configured by iRedMail to log into <code>/var/log/openldap.log</code> by default.</p></body></html>