Skip to content

Find, verify, and analyze leaked credentials

remove debug log (#3505)

ahrav01a2a4a3cc45
diff --git a/pkg/sources/s3/s3.go b/pkg/sources/s3/s3.go
index f5df0fd3a..8c3aabca8 100644
--- a/pkg/sources/s3/s3.go
+++ b/pkg/sources/s3/s3.go
@@ -131,7 +131,6 @@ func (s *Source) setMaxObjectSize(maxObjectSize int64) {
func (s *Source) newClient(region, roleArn string) (*s3.S3, error) {
cfg := aws.NewConfig()
cfg.CredentialsChainVerboseErrors = aws.Bool(true)
- cfg.LogLevel = aws.LogLevel(aws.LogDebugWithRequestErrors)
cfg.Region = aws.String(region)
switch cred := s.conn.GetCredential().(type) {