Skip to content

Commit

Permalink
remove aws.LogResponseWithBody for S3_DEBUG to avoid too many logs …
Browse files Browse the repository at this point in the history
…(affected 2.4.0+ versions)
  • Loading branch information
Slach committed Nov 7, 2023
1 parent 5333564 commit bd22bb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v2.4.4
BUG FIXES
- remove aws.LogResponseWithBody for `S3_DEBUG` to avoid too many logs (affected 2.4.0+ versions)

# v2.4.3
IMPROVEMENTS
- add `list` command to API /backup/actions, fix [772](https://github.com/Altinity/clickhouse-backup/issues/772)
Expand Down
2 changes: 1 addition & 1 deletion pkg/storage/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (s *S3) Connect(ctx context.Context) error {

if s.Config.Debug {
awsConfig.Logger = newS3Logger(s.Log)
awsConfig.ClientLogMode = aws.LogRetries | aws.LogRequest | aws.LogResponseWithBody
awsConfig.ClientLogMode = aws.LogRetries | aws.LogRequest
}

httpTransport := http.DefaultTransport
Expand Down

0 comments on commit bd22bb4

Please sign in to comment.