From d4d1d615c1fafeed526660ddf8d55fe03f44fc7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Thu, 7 Apr 2016 12:39:34 -0700 Subject: [PATCH] request log should reflect time the query was received, as opposed to processed --- server/src/main/java/io/druid/server/QueryResource.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/main/java/io/druid/server/QueryResource.java b/server/src/main/java/io/druid/server/QueryResource.java index dfb66c2d64a..039360ea715 100644 --- a/server/src/main/java/io/druid/server/QueryResource.java +++ b/server/src/main/java/io/druid/server/QueryResource.java @@ -206,7 +206,7 @@ public class QueryResource requestLogger.log( new RequestLogLine( - new DateTime(), + new DateTime(start), req.getRemoteAddr(), theQuery, new QueryStats( @@ -258,7 +258,7 @@ public class QueryResource ); requestLogger.log( new RequestLogLine( - new DateTime(), + new DateTime(start), req.getRemoteAddr(), query, new QueryStats( @@ -305,7 +305,7 @@ public class QueryResource ); requestLogger.log( new RequestLogLine( - new DateTime(), + new DateTime(start), req.getRemoteAddr(), query, new QueryStats(ImmutableMap.of(