Roundcube Community Forum

 

Roundcube shall log to systemd

Started by Jens_Hbg, July 26, 2024, 07:52:30 AM

Previous topic - Next topic

Jens_Hbg

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!

alec

// 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;