diff --git a/src/replica/replication_app_base.cpp b/src/replica/replication_app_base.cpp index 5edac39eb4c..9955fe58714 100644 --- a/src/replica/replication_app_base.cpp +++ b/src/replica/replication_app_base.cpp @@ -61,7 +61,7 @@ namespace dsn { namespace replication { const std::string replica_init_info::kInitInfo = ".init-info"; -const std::string replica_kms_info::kFileName = "/replica_encrypted_key"; +const std::string replica_kms_info::kFileName = ".kms-info"; error_code replica_init_info::load(const std::string &dir) { diff --git a/src/runtime/security/kms_client.cpp b/src/runtime/security/kms_client.cpp index 80319d17983..42f6e419a71 100644 --- a/src/runtime/security/kms_client.cpp +++ b/src/runtime/security/kms_client.cpp @@ -90,7 +90,6 @@ dsn::error_s PegasusKMSClient::DecryptEncryptionKey(const std::string &encryptio } long http_status; client.get_http_status(http_status); - LOG_INFO("http status = ({})", http_status); if (http_status == 200) { j = nlohmann::json::parse(resp); } @@ -151,7 +150,6 @@ dsn::error_s PegasusKMSClient::GenerateEncryptionKeyFromKMS(const std::string &k long http_status; client.get_http_status(http_status); - LOG_INFO("http status = ({})", http_status); if (http_status == 200) { j = nlohmann::json::parse(resp); nlohmann::json jsonObject = j.at(0);