request log should reflect time the query was received, as opposed to processed

This commit is contained in:
Xavier Léauté 2016-04-07 12:39:34 -07:00
parent aaf40e69a0
commit d4d1d615c1
1 changed files with 3 additions and 3 deletions

View File

@ -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(