Skip to content

Commit

Permalink
fix: Change time format for HTTP API log (#910)
Browse files Browse the repository at this point in the history
Relevant issue(s)
Resolves #899

Description
This PR changes the formatting of the elapsed time in the logs from requests to the HTTP API.
  • Loading branch information
fredcarle authored Oct 21, 2022
1 parent f96fe72 commit 9490679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/http/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ func loggerMiddleware(next http.Handler) http.Handler {
lrw.contentLength,
),
logging.NewKV(
"ElapsedSeconds",
elapsed,
"ElapsedTime",
elapsed.String(),
),
)
})
Expand Down

0 comments on commit 9490679

Please sign in to comment.