Question
How to enable debug logging for Roundcube webmail on Plesk for Linux?
Answer
-
Log into the server via SSH.
-
Using the vi text editor open the
/usr/share/psa-roundcube/config/config.inc.php
file. -
Add the values below and save changes:
// system error reporting, sum of: 1 = log; 4 = show
$config['debug_level'] = 1;// 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;Note: In case the
$config['debug_level']
option is set to 4, the errors will be displayed in Roundcube GUI, and not in/var/log/plesk-roundcube/errors
log file.