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/shell/dbshell.cpp | |
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/shell/dbshell.cpp')
-rw-r--r-- | src/mongo/shell/dbshell.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/shell/dbshell.cpp b/src/mongo/shell/dbshell.cpp index 4b711f91cc0..574be1951b8 100644 --- a/src/mongo/shell/dbshell.cpp +++ b/src/mongo/shell/dbshell.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" @@ -77,7 +77,6 @@ #include "mongo/util/errno_util.h" #include "mongo/util/exit.h" #include "mongo/util/file.h" -#include "mongo/util/log_global_settings.h" #include "mongo/util/net/ocsp/ocsp_manager.h" #include "mongo/util/net/ssl_options.h" #include "mongo/util/password.h" |