diff --git a/VERSION b/VERSION index f6a33ec..67d3a32 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.1.6-dev +v1.1.7-dev diff --git a/logger/logger.go b/logger/logger.go index d9c69bf..b2714d3 100644 --- a/logger/logger.go +++ b/logger/logger.go @@ -158,6 +158,7 @@ func Middleware(logger *slog.Logger, shouldPrint bool) func(next http.Handler) h "code", ww.Status(), "bytes", ww.BytesWritten(), "duration_ms", duration.Milliseconds(), + "ip", r.RemoteAddr, ) } }()