dovecot-2.0: lda: Log to specified log file, not to stderr.

dovecot at dovecot.org dovecot at dovecot.org
Tue May 26 05:20:20 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/ad0b052aef5e
changeset: 9371:ad0b052aef5e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon May 25 22:20:13 2009 -0400
description:
lda: Log to specified log file, not to stderr.

diffstat:

1 file changed, 3 insertions(+), 2 deletions(-)
src/lda/main.c |    5 +++--

diffs (15 lines):

diff -r 8fa79cdb2ef3 -r ad0b052aef5e src/lda/main.c
--- a/src/lda/main.c	Mon May 25 22:18:39 2009 -0400
+++ b/src/lda/main.c	Mon May 25 22:20:13 2009 -0400
@@ -248,8 +248,9 @@ int main(int argc, char *argv[])
 	i_set_failure_exit_callback(failure_exit_callback);
 
 	master_service = master_service_init("lda",
-					     MASTER_SERVICE_FLAG_STANDALONE,
-					     argc, argv);
+		MASTER_SERVICE_FLAG_STANDALONE |
+		MASTER_SERVICE_FLAG_DONT_LOG_TO_STDERR,
+		argc, argv);
 
 	memset(&ctx, 0, sizeof(ctx));
 	ctx.pool = pool_alloconly_create("mail deliver context", 256);


More information about the dovecot-cvs mailing list