mirror of
https://github.com/containous/traefik.git
synced 2025-02-23 09:57:28 +03:00
refactor(dynamodb): Use Traefik Logger.
This commit is contained in:
parent
46faa7a745
commit
a7ec785994
@ -61,6 +61,12 @@ func (p *Provider) createClient() (*dynamoClient, error) {
|
||||
}),
|
||||
}
|
||||
|
||||
if p.Trace {
|
||||
cfg.WithLogger(aws.LoggerFunc(func(args ...interface{}) {
|
||||
log.Debug(args...)
|
||||
}))
|
||||
}
|
||||
|
||||
if p.Endpoint != "" {
|
||||
cfg.Endpoint = aws.String(p.Endpoint)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user