changeset 22587:36f70fbf6d2f

doveadm: Add remote(host) prefix to all proxied logs
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 09 Oct 2017 13:55:06 +0300
parents 234364d58e5b
children 041460202062
files src/doveadm/server-connection.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/doveadm/server-connection.c	Mon Oct 09 14:28:17 2017 +0300
+++ b/src/doveadm/server-connection.c	Mon Oct 09 13:55:06 2017 +0300
@@ -310,7 +310,7 @@
 			i_warning("Doveadm server sent invalid log type 0x%02x",
 				  line[0]);
 		line++;
-		i_log_type(&ctx, "%s", line);
+		i_log_type(&ctx, "remote(%s): %s", conn->server->name, line);
 	}
 }