Hi, all.

I use syslog as log_driver, but it sent the same message
to /var/log/messages and /var/log/roundcube.log. I just
want to make it log to /var/log/roundcube.log. How can i
solve this issue?

My settings in config/main.inc.php:
----
$rcmail_config['debug_level'] = 1;
$rcmail_config['log_driver'] = "syslog";
$rcmail_config['syslog_id'] = "roundcube";
$rcmail_config['syslog_facility'] = LOG_LOCAL3;
----

/etc/syslog.conf:
----
*.info;mail.none;authpriv.none;cron.none                /var/log/messages
authpriv.*                                              /var/log/secure
mail.*                                                  -/var/log/maillog
cron.*                                                  /var/log/cron
*.emerg                                                 *
uucp,news.crit                                          /var/log/spooler
local7.*                                                /var/log/boot.log
local4.*                                                
-/var/log/openldap.log
local0.*                                                
-/var/log/roundcube.log
----

Thanks very much. :)

-- 
Best regards.

Zhang Huangbin

- Open Source Mail Server Solution for RHEL/CentOS 5.x:
  http://code.google.com/p/iredmail/

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to