diff --git a/service/httppprof_pprof.go b/service/httppprof_pprof.go index 9336e0c..ff96229 100644 --- a/service/httppprof_pprof.go +++ b/service/httppprof_pprof.go @@ -7,7 +7,6 @@ import ( "net/http" "net/http/pprof" - "github.com/foomo/keel/log" "go.uber.org/zap" ) @@ -27,9 +26,9 @@ func NewHTTPPProf(l *zap.Logger, name, addr, path string) *HTTP { return NewHTTP(l, name, addr, handler) } -func NewDefaultHTTPPProf() *HTTP { +func NewDefaultHTTPPProf(l *zap.Logger) *HTTP { return NewHTTPPProf( - log.Logger(), + l, DefaultHTTPPProfName, DefaultHTTPPProfAddr, DefaultHTTPPProfPath,