diff --git a/provider/ecs/ecs.go b/provider/ecs/ecs.go index 48675fe37..e32477239 100644 --- a/provider/ecs/ecs.go +++ b/provider/ecs/ecs.go @@ -85,6 +85,12 @@ func (p *Provider) createClient() (*awsClient, error) { }), } + if p.Trace { + cfg.WithLogger(aws.LoggerFunc(func(args ...interface{}) { + log.Debug(args...) + })) + } + return &awsClient{ ecs.New(sess, cfg), ec2.New(sess, cfg),