diff src/lda/main.c @ 9371:ad0b052aef5e HEAD

lda: Log to specified log file, not to stderr.
author Timo Sirainen <tss@iki.fi>
date Mon, 25 May 2009 22:20:13 -0400
parents 8fa79cdb2ef3
children b1c584654a0e
line wrap: on
line diff
--- 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 @@
 	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);