Skip to content

Commit

Permalink
Include nanoseconds in request log timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmcconnell committed Mar 25, 2024
1 parent 9588875 commit 58e0d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/logging_middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (h *LoggingMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}

line := LoggingMiddlewareLine{
Timestamp: started.Format(time.RFC3339),
Timestamp: started.Format(time.RFC3339Nano),
Message: "Request",
}

Expand Down

0 comments on commit 58e0d77

Please sign in to comment.