Skip to content

Commit

Permalink
chore: fix logging level on aws HTTP transport
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Aug 20, 2024
1 parent 8b64cba commit 8dd8339
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions connection/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ func (t *AWSConnection) Client(ctx context.Context) (aws.Config, error) {
if ctx.IsTrace() {
httplogger := &httpretty.Logger{
Time: true,
TLS: true,
TLS: ctx.Logger.IsLevelEnabled(7),
RequestHeader: true,
RequestBody: true,
RequestBody: ctx.Logger.IsLevelEnabled(8),
ResponseHeader: true,
ResponseBody: true,
ResponseBody: ctx.Logger.IsLevelEnabled(9),
Colors: true,
Formatters: []httpretty.Formatter{&httpretty.JSONFormatter{}},
}
Expand Down

0 comments on commit 8dd8339

Please sign in to comment.