refactor(ecs): Use Traefik Logger.
This commit is contained in:
parent
54e3f08833
commit
46faa7a745
1 changed files with 6 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue