Open samifruit514 opened 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.
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...
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.