diff --git a/runtime/v2/shim.go b/runtime/v2/shim.go index cc1cf62f1..0fc94e80e 100644 --- a/runtime/v2/shim.go +++ b/runtime/v2/shim.go @@ -29,6 +29,7 @@ import ( "github.com/containerd/ttrpc" "github.com/hashicorp/go-multierror" + "github.com/sirupsen/logrus" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" @@ -220,6 +221,11 @@ func makeConnection(ctx context.Context, address string, onClose func()) (_ io.C params.Protocol = "ttrpc" } + log.G(ctx).WithFields(logrus.Fields{ + "address": params.Address, + "protocol": params.Protocol, + }).Debug("shim bootstrap parameters") + switch strings.ToLower(params.Protocol) { case "ttrpc": conn, err := client.Connect(params.Address, client.AnonReconnectDialer)