Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Jens_Hbg on July 26, 2024, 07:52:30 AM

Title: Roundcube shall log to systemd
Post by: Jens_Hbg on July 26, 2024, 07:52:30 AM
Debian 12.5
Roundcube 1.6.5+dfsg-1+deb12u2

Hello,

I want my roundcube logging to systemd instead of file. I've already searched a lot on the internet - but it didn't get me anywhere. Roundcube is supposed to be able to log for systemd too - but I couldn't find out where to set this up. Or does it have to be done somehow via Apache2?

Thanks for your help!
Title: Re: Roundcube shall log to systemd
Post by: alec on July 27, 2024, 12:47:51 AM
// log driver:  'syslog', 'stdout' or 'file'.
$config['log_driver'] = 'file';

// Syslog ident string to use, if using the 'syslog' log driver.
$config['syslog_id'] = 'roundcube';

// Syslog facility to use, if using the 'syslog' log driver.
// For possible values see installer or http://php.net/manual/en/function.openlog.php
$config['syslog_facility'] = \LOG_USER;