iredmail-doc/html/debug.roundcubemail.html

53 lines
2.4 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">
2017-11-16 21:48:44 -06:00
<p style="text-align: center; color: grey;">All documents are available in <a href="https://bitbucket.org/zhb/iredmail-docs/src">BitBucket 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://bitbucket.org/zhb/iredmail-docs/get/tip.tar.bz2">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>
</div>
2017-11-05 02:33:58 -06:00
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-3293801-21"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
2017-11-05 02:33:58 -06:00
gtag('config', 'UA-3293801-21');
</script>
</body></html>