Thanks for the email. Please email the dev@ mailing list in the future. Alec committed your suggestion: http://trac.roundcube.net/changeset/3901
Till On Mon, Aug 23, 2010 at 11:35 AM, HÖLTZL Péter <[email protected]> wrote: > Dear team, > > I use and love roundcube. I have just realized it is possible to log to > syslog, but in syslog it violates the syslog format which is defined in > RFC3164: > > <pri>DATE HOST PRG[PID]: Message > > If I use syslog driver your message is this: > > <pri>DATE HOST PRG[PID]: [DATE] Message > > the 2nd date is defined by the log_date_format variable. > > It is very simple to modify is, just change the php code: > > program/include/main.inc > > if ($CONFIG['log_driver'] == 'syslog') { > $prio = $name == 'errors' ? LOG_ERR : LOG_INFO; > syslog($prio, $line); > return true; > } > > > Best wishes, > > Peter > > > > -- > e-mail: peter @ holtzl.hu > mobile: +36 30 251-2986 > > _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/8f4f07cd
