Just tested, same result :( Thanks Nicolas 2016-02-06 16:44 GMT+01:00 Oscar del Rio <delrio at mie.utoronto.ca>:> On 05/02/2016 9:42 AM, Nicolas Fo wrote: > >> I set in dovecot.conf : syslog_facility = local5.info >> > > Try: > > syslog_facility = local5 > > Source: > http://wiki.dovecot.org/Logging#Syslog_Example >
On Sat, Feb 06, 2016 at 07:22:33PM +0100, Nicolas Fo wrote:> Just tested, same result :(It may be a silly question, but is one of log_path, info_log_path, or debug_log_path set to "syslog"? log_path defaults to it, so if you've changed that, the syslog service wouldn't be used. Dovecot's use of syslog is very vanilla, there's not much room for it to do much wrong. Phil> 2016-02-06 16:44 GMT+01:00 Oscar del Rio <delrio at mie.utoronto.ca>: > > On 05/02/2016 9:42 AM, Nicolas Fo wrote: > >> I set in dovecot.conf : syslog_facility = local5.info > > > > Try: > > > > syslog_facility = local5 > > > > Source: > > http://wiki.dovecot.org/Logging#Syslog_Example
Great ! I was using both "log_path" and "syslog_facility" so "syslog_facility" didn't work. No I have in dovecot.conf : # Logging. Reference: http://wiki2.dovecot.org/Logging #log_path = /var/log/dovecot.log syslog_facility = local5 And in rsyslog.conf : local5.* @IP_RSYSLOG_SERVER:PORT local5.* -/var/log/dovecot.log Thanks a lot Nicolas 2016-02-08 11:06 GMT+01:00 Phil Carmody <phil at dovecot.fi>:> On Sat, Feb 06, 2016 at 07:22:33PM +0100, Nicolas Fo wrote: > > Just tested, same result :( > > It may be a silly question, but is one of log_path, info_log_path, or > debug_log_path set to "syslog"? log_path defaults to it, so if you've > changed that, the syslog service wouldn't be used. Dovecot's use of > syslog is very vanilla, there's not much room for it to do much wrong. > > Phil > > > 2016-02-06 16:44 GMT+01:00 Oscar del Rio <delrio at mie.utoronto.ca>: > > > On 05/02/2016 9:42 AM, Nicolas Fo wrote: > > >> I set in dovecot.conf : syslog_facility = local5.info > > > > > > Try: > > > > > > syslog_facility = local5 > > > > > > Source: > > > http://wiki.dovecot.org/Logging#Syslog_Example >