summaryrefslogtreecommitdiff
path: root/src/mongo/shell/kms_aws.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/kms_aws.cpp')
-rw-r--r--src/mongo/shell/kms_aws.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/shell/kms_aws.cpp b/src/mongo/shell/kms_aws.cpp
index 9201386d57c..e9734e9c741 100644
--- a/src/mongo/shell/kms_aws.cpp
+++ b/src/mongo/shell/kms_aws.cpp
@@ -27,7 +27,7 @@
* it in the license file.
*/
-#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kControl
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kControl
#include <kms_message/kms_message.h>
@@ -61,7 +61,7 @@ namespace {
class AWSConnection {
public:
AWSConnection(SSLManagerInterface* ssl)
- : _sslManager(ssl), _socket(std::make_unique<Socket>(10, logger::LogSeverity::Log())) {}
+ : _sslManager(ssl), _socket(std::make_unique<Socket>(10, logv2::LogSeverity::Log())) {}
UniqueKmsResponse makeOneRequest(const HostAndPort& host, ConstDataRange request);