heroku / docker-registry-client

A Go API client for the v2 Docker Registry API
BSD 3-Clause "New" or "Revised" License
297 stars 225 forks source link

registry.New outputs logging #25

Open samifruit514 opened 7 years ago

samifruit514 commented 7 years ago

registry.New is calling Ping() from newFromTransport method and Ping() outputs logging with

r.Logf("registry.ping url=%s", url).

We cannot set logging callback before New function. So it makes it impossible to mute that ping log line.

prune998 commented 6 years ago

I also made a PR https://github.com/heroku/docker-registry-client/pull/53

Sadly, the maintainer of this project seem to be... dead... 13 PR never merged...