// <ahref="./index.html">Document Index</a></div><h1id="turn-on-debug-logging-in-fail2ban">Turn on debug logging in Fail2ban</h1>
<p>To turn on debug mode in Fail2ban, please set its log level to <code>debug</code> in
config file <code>/etc/fail2ban/fail2ban.local</code>, then restart fail2ban service.
If file <code>/etc/fail2ban/fail2ban.local</code> doesn't exist, use
<pstyle="text-align: center; color: grey;">All documents are available in <ahref="https://github.com/iredmail/docs/">BitBucket repository</a>, and published under <ahref="http://creativecommons.org/licenses/by-nd/3.0/us/"target="_blank">Creative Commons</a> license. You can <ahref="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <ahref="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>