iredmail-doc/html_bk/debug.roundcubemail.html

42 lines
2.0 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Turn on debug mode in Roundcube webmail</title>
<link rel="stylesheet" type="text/css" href="./css/markdown.css" />
</head>
<body>
<div id="navigation">
2017-11-16 21:48:44 -06:00
<a href="https://www.iredmail.org" target="_blank">
<img alt="iRedMail web site"
src="./images/logo-iredmail.png"
style="vertical-align: middle; height: 30px;"
/>&nbsp;
<span>iRedMail</span>
</a>
2016-02-29 02:15:19 -06:00
&nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="turn-on-debug-mode-in-roundcube-webmail">Turn on debug mode in Roundcube webmail</h1>
<p>Please follow the tutorial to find Roundcube config file
2019-06-06 02:36:43 -05:00
(<code>config/config.inc.php</code>) first:
<a href="./file.locations.html#roundcube-webmail">Locations of configuration and log files of major components</a></p>
2016-03-26 23:50:53 -06:00
<p>Then add settings below in <code>config/config.inc.php</code>:</p>
<pre><code>// system error reporting, sum of: 1 = log; 4 = show
2016-03-26 23:50:53 -06:00
$config['debug_level'] = 4;
// Log SQL queries
$config['sql_debug'] = true;
// Log IMAP conversation
$config['imap_debug'] = true;
// Log LDAP conversation
$config['ldap_debug'] = true;
// Log SMTP conversation
$config['smtp_debug'] = true;
2016-03-26 23:50:53 -06:00
</code></pre>
<p>No need to restart web service.</p>
<p>Roundcube is configured (by iRedMail) to log to Postfix log file, it's
<code>/var/log/maillog</code> or <code>/var/log/mail.log</code>.</p><div class="footer">
2019-12-31 00:07:48 -06:00
<p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
2021-07-11 23:36:15 -05:00
</div></body></html>