chore: set default jdcloud logger level to warning

This commit is contained in:
Fu Diwei
2025-02-21 14:15:23 +08:00
parent 32fdb3ed88
commit 92528edbfb
6 changed files with 13 additions and 10 deletions

View File

@@ -134,5 +134,6 @@ func (u *UploaderProvider) Upload(ctx context.Context, certPem string, privkeyPe
func createSdkClient(accessKeyId, accessKeySecret string) (*jdSslClient.SslClient, error) {
clientCredentials := jdCore.NewCredentials(accessKeyId, accessKeySecret)
client := jdSslClient.NewSslClient(clientCredentials)
client.SetLogger(jdCore.NewDefaultLogger(jdCore.LogWarn))
return client, nil
}