dovecot-2.2: doveadm: Initialize logging.

dovecot at dovecot.org dovecot at dovecot.org
Wed Mar 11 14:40:51 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/878e9d914339
changeset: 18321:878e9d914339
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Mar 11 13:28:24 2015 +0200
description:
doveadm: Initialize logging.
Most importantly so that LOG_STDERR_TIMESTAMP can be used to prefix each
line with a timestamp.

diffstat:

 src/doveadm/doveadm.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 13021170e269 -r 878e9d914339 src/doveadm/doveadm.c
--- a/src/doveadm/doveadm.c	Wed Mar 11 13:27:49 2015 +0200
+++ b/src/doveadm/doveadm.c	Wed Mar 11 13:28:24 2015 +0200
@@ -297,6 +297,7 @@
 	} else {
 		doveadm_read_settings();
 	}
+	master_service_init_log(master_service, "doveadm: ");
 
 	doveadm_cmds_init();
 	for (i = 0; i < N_ELEMENTS(doveadm_cmdline_commands); i++)


More information about the dovecot-cvs mailing list