Skip to content

Commit

Permalink
Correcting request time in http access logs (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaypj authored Aug 21, 2024
1 parent f76b0dd commit ebddead
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public class AccessLogHttpFilter extends HttpFilter implements Logging {

public AccessLogHttpFilter() {
accessLogContextBuilder = AccessLogContext.builder();
accessLogContextBuilder.requestTime(System.currentTimeMillis());
startTime = System.currentTimeMillis();
accessLogContextBuilder.requestTime(startTime);
}

public static void setFormat(String format) {
Expand Down

0 comments on commit ebddead

Please sign in to comment.