From 40d58f6bc262f09b8784a40089cf7bcba439f3c7 Mon Sep 17 00:00:00 2001 From: wenxu12345 <44203734@qq.com> Date: Tue, 5 Apr 2022 19:49:49 +0800 Subject: [PATCH] log --- internal/api/third/minio_init.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/api/third/minio_init.go b/internal/api/third/minio_init.go index 14fe4114b..209da863f 100644 --- a/internal/api/third/minio_init.go +++ b/internal/api/third/minio_init.go @@ -22,10 +22,12 @@ func MinioInit() { log.NewError(operationID, utils.GetSelfFuncName(), "parse failed, please check config/config.yaml", err.Error()) return } + log.NewInfo(operationID, utils.GetSelfFuncName(), "Parse ok ", config.Config.Credential.Minio) minioClient, err = minio.New(minioUrl.Host, &minio.Options{ Creds: credentials.NewStaticV4(config.Config.Credential.Minio.AccessKeyID, config.Config.Credential.Minio.SecretAccessKey, ""), Secure: false, }) + log.NewInfo(operationID, utils.GetSelfFuncName(), "new ok ", config.Config.Credential.Minio) if err != nil { log.NewError(operationID, utils.GetSelfFuncName(), "init minio client failed", err.Error()) return