mirror of https://github.com/apache/druid.git
Merge pull request #2805 from metamx/query-time-start
request log should reflect time the query was received
This commit is contained in:
commit
b486eff6b7
|
@ -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.<String, Object>of(
|
||||
|
|
Loading…
Reference in New Issue