Author Topic: No logging  (Read 3007 times)

Offline 101

  • Newbie
  • *
  • Posts: 2
No logging
« on: November 08, 2017, 08:02:56 AM »
Hello RC community,

I'm using RoundCube on Ubuntu 14.04 and I'm facing a strange issue. After enabling the following logging options in /etc/roundcube/main.inc.php, I have no logging output for SMTP. The file is empty
Code: [Select]
$rcmail_config['debug_level'] = 1;
$rcmail_config['log_driver'] = 'file';

$rcmail_config['smtp_log'] = true;
$rcmail_config['log_logins'] = true;
$rcmail_config['log_session'] = true;
$rcmail_config['sql_debug'] = true;
$rcmail_config['imap_debug'] = true;
$rcmail_config['ldap_debug'] = true;
$rcmail_config['smtp_debug'] = true;

$rcmail_config['log_dir'] = '/var/log/roundcube/';


I have checked that the files exist, and that are writable. I even set (temporarily) the 0666 permission just in case but no luck (changed it back to 0660).

The reason I need the logging output is because I'm trying to solve another infamous problem [SMTP Error (250): Authentication failed]

What could possibly be the problem for not having logging output?

Offline 101

  • Newbie
  • *
  • Posts: 2
Re: No logging
« Reply #1 on: November 08, 2017, 09:01:17 AM »
It seems that this was an OpenBasedir issue, and it was solved by adding:
Code: [Select]
php_admin_value open_basedir /var/log/roundcube in the apache conf file