diff --git a/registry/listener/listener.go b/registry/listener/listener.go index 2548f75e..2be6125f 100644 --- a/registry/listener/listener.go +++ b/registry/listener/listener.go @@ -7,6 +7,7 @@ import ( "time" "github.com/coreos/go-systemd/v22/activation" + log "github.com/sirupsen/logrus" ) // tcpKeepAliveListener sets TCP keep-alive timeouts on accepted @@ -47,6 +48,7 @@ func NewListener(net, laddr string) (net.Listener, error) { return nil, fmt.Errorf("unknown address type %s", net) } case 1: + log.Info("Socet-activation is being used. Overriding requested address") return listeners[0], nil default: return nil, fmt.Errorf("Found %d socket-activation listeners, only expected 1", len(listeners))