diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2020-04-25 12:23:19 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-03 20:01:47 +0000 |
commit | d5bfe99ef95ba205192db36db14a7e46592094dc (patch) | |
tree | 0880ff58ec0e385b33a3f2a45c5db054e63174bb /src/mongo/base | |
parent | c7220a8080388da758230240a94ca0a15156148b (diff) | |
download | mongo-d5bfe99ef95ba205192db36db14a7e46592094dc.tar.gz |
SERVER-47735 change mongo source over to logv2
- Remove several legacy logger/ files
- Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version.
- Globally replace logger::{LogSeverity,LogComponent} => logv2::
(cherry picked from commit eae31861e0f813f0099e1d490c4a622d75cd5a08)
Diffstat (limited to 'src/mongo/base')
-rw-r--r-- | src/mongo/base/secure_allocator.cpp | 2 | ||||
-rw-r--r-- | src/mongo/base/status.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/base/secure_allocator.cpp b/src/mongo/base/secure_allocator.cpp index 423557622f5..299751f553e 100644 --- a/src/mongo/base/secure_allocator.cpp +++ b/src/mongo/base/secure_allocator.cpp @@ -27,7 +27,7 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kDefault #include "mongo/platform/basic.h" diff --git a/src/mongo/base/status.cpp b/src/mongo/base/status.cpp index 499e185b442..bdab79edb11 100644 --- a/src/mongo/base/status.cpp +++ b/src/mongo/base/status.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 "mongo/base/status.h" #include "mongo/db/jsobj.h" |