Re: [Dovecot] Separate log file for Sieve

2013-04-03 Thread Ewald Dieterich

On 03/31/13 14:43, Stephan Bosch wrote:

Op 3/31/2013 10:34 AM, Timo Sirainen schreef:

On 27.3.2013, at 16.57, Ewald Dieterich  wrote:


Is it possible to configure a separate log file for Sieve?

No, unless you use some syslog feature. There are some plans to reduce
the number of errors that Sieve logs though.


Some of which is already implemented, but still pending release.


I merged with the trunk and like the changes you did, thanks!

Ewald


Re: [Dovecot] Separate log file for Sieve

2013-03-31 Thread Stephan Bosch

Op 3/31/2013 10:34 AM, Timo Sirainen schreef:

On 27.3.2013, at 16.57, Ewald Dieterich  wrote:


log_path = /var/log/dovecot/error.log
info_log_path = /var/log/dovecot/info.log
debug_log_path = /var/log/dovecot/debug.log

to log to different files.

Since I don't consider Sieve errors as severe as "real" Dovecot errors I would 
like to keep them away from the error log.

Is it possible to configure a separate log file for Sieve?

No, unless you use some syslog feature. There are some plans to reduce the 
number of errors that Sieve logs though.


Some of which is already implemented, but still pending release.

Regards,

Stephan.


Re: [Dovecot] Separate log file for Sieve

2013-03-31 Thread Timo Sirainen
On 27.3.2013, at 16.57, Ewald Dieterich  wrote:

> log_path = /var/log/dovecot/error.log
> info_log_path = /var/log/dovecot/info.log
> debug_log_path = /var/log/dovecot/debug.log
> 
> to log to different files.
> 
> Since I don't consider Sieve errors as severe as "real" Dovecot errors I 
> would like to keep them away from the error log.
> 
> Is it possible to configure a separate log file for Sieve?

No, unless you use some syslog feature. There are some plans to reduce the 
number of errors that Sieve logs though.

You could put all the LDA messages to a different log file though:

protocol lda {
  log_path = /var/log/dovecot/lda.log
}