From d757ef3e9b701163f2b65817c1a618449c65b8af Mon Sep 17 00:00:00 2001 From: Himanshu Date: Fri, 30 Jun 2017 12:38:39 -0500 Subject: [PATCH] record remote address in jetty request log (#4492) --- .../io/druid/server/initialization/jetty/JettyRequestLog.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/io/druid/server/initialization/jetty/JettyRequestLog.java b/server/src/main/java/io/druid/server/initialization/jetty/JettyRequestLog.java index 5136ab0afee..77a792e6877 100644 --- a/server/src/main/java/io/druid/server/initialization/jetty/JettyRequestLog.java +++ b/server/src/main/java/io/druid/server/initialization/jetty/JettyRequestLog.java @@ -36,7 +36,8 @@ public class JettyRequestLog extends AbstractLifeCycle implements RequestLog { if (logger.isDebugEnabled()) { logger.debug( - "%s %s %s", + "%s %s %s %s", + request.getRemoteAddr(), request.getMethod(), request.getHttpURI().toString(), request.getProtocol()