dovecot-2.1: auth: Use auth-worker(pid) prefix for auth processes.

dovecot at dovecot.org dovecot at dovecot.org
Tue Sep 13 12:42:46 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/667f604e79c5
changeset: 13462:667f604e79c5
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Sep 13 12:42:30 2011 +0300
description:
auth: Use auth-worker(pid) prefix for auth processes.

diffstat:

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

diffs (20 lines):

diff -r 8eea5682ac5b -r 667f604e79c5 src/auth/main.c
--- a/src/auth/main.c	Tue Sep 13 11:55:25 2011 +0300
+++ b/src/auth/main.c	Tue Sep 13 12:42:30 2011 +0300
@@ -9,6 +9,7 @@
 #include "child-wait.h"
 #include "sql-api.h"
 #include "module-dir.h"
+#include "hostpid.h"
 #include "randgen.h"
 #include "process-title.h"
 #include "settings-parser.h"
@@ -309,6 +310,8 @@
 	while ((c = master_getopt(master_service)) > 0) {
 		switch (c) {
 		case 'w':
+			master_service_init_log(master_service,
+				t_strdup_printf("auth-worker(%s): ", my_pid));
 			worker = TRUE;
 			break;
 		default:


More information about the dovecot-cvs mailing list