From bcd76bf46d05bae3bcce671cd30815fe44e71a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Wed, 26 Aug 2020 15:27:49 +0200 Subject: [PATCH] ceph: run obc requests with debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use debug log to all the s3 calls so it's either to debug. Also, it's not so verbose. Signed-off-by: Sébastien Han --- pkg/operator/ceph/object/s3-handlers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/operator/ceph/object/s3-handlers.go b/pkg/operator/ceph/object/s3-handlers.go index f54a4c1a4..a2a4499f5 100644 --- a/pkg/operator/ceph/object/s3-handlers.go +++ b/pkg/operator/ceph/object/s3-handlers.go @@ -48,7 +48,8 @@ func NewS3Agent(accessKey, secretKey, endpoint string) (*S3Agent, error) { WithDisableSSL(true). WithHTTPClient(&http.Client{ Timeout: time.Second * 15, - }), + }). + WithLogLevel(aws.LogDebug), ) if err != nil { return nil, err