Skip to content

Commit

Permalink
Merge pull request #1210 from kmosher/extra-debug-logging
Browse files Browse the repository at this point in the history
Configure SDK to log extra debug details on request errors
  • Loading branch information
radeksimko authored Jul 28, 2017
2 parents 7c081bd + 4cce721 commit 2cbb0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (c *Config) Client() (interface{}, error) {
}

if logging.IsDebugOrHigher() {
awsConfig.LogLevel = aws.LogLevel(aws.LogDebugWithHTTPBody)
awsConfig.LogLevel = aws.LogLevel(aws.LogDebugWithHTTPBody | aws.LogDebugWithRequestRetries | aws.LogDebugWithRequestErrors)
awsConfig.Logger = awsLogger{}
}

Expand Down

0 comments on commit 2cbb0b6

Please sign in to comment.