diff --git a/pkg/api/logger.go b/pkg/api/logger.go index 1441a18..a9a1a41 100644 --- a/pkg/api/logger.go +++ b/pkg/api/logger.go @@ -57,7 +57,8 @@ func RequestLogger(logger *logrus.Logger) gin.HandlerFunc { "status": status, "method": c.Request.Method, "remote_addr": c.ClientIP(), - "duration": latency, + "duration": latency.String(), + "duration_ms": latency.Milliseconds(), "path": path, }