From d61a2de0a847a7ed1f143e35f9fe2b086be2a59c Mon Sep 17 00:00:00 2001 From: Jamie Cui <jamie.cui@outlook.com> Date: Mon, 21 Oct 2024 15:32:58 +0800 Subject: [PATCH] fix(drbg): make drbg more silent --- yacl/crypto/rand/drbg/openssl_factory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yacl/crypto/rand/drbg/openssl_factory.cc b/yacl/crypto/rand/drbg/openssl_factory.cc index aaf326c..910c84a 100644 --- a/yacl/crypto/rand/drbg/openssl_factory.cc +++ b/yacl/crypto/rand/drbg/openssl_factory.cc @@ -80,7 +80,7 @@ OpensslDrbg::OpensslDrbg(std::string type, // instantiate the es_ctx OSSL_RET_1(EVP_RAND_instantiate(es_ctx.get(), 128, 0, nullptr, 0, nullptr)); } else { - SPDLOG_WARN( + SPDLOG_DEBUG( "Yacl has been configured to use Yacl's entropy source, but unable " "to find one. Fallback to use openssl's default entropy srouce"); }