summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_compact.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-04-25 12:23:19 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-26 23:06:52 +0000
commiteae31861e0f813f0099e1d490c4a622d75cd5a08 (patch)
treebcfeb9feeb3bc37ccb1eb3250eca2f91e4bb8523 /src/mongo/db/catalog/collection_compact.cpp
parent085ffeb310e8fed49739cf8443fcb13ea795d867 (diff)
downloadmongo-eae31861e0f813f0099e1d490c4a622d75cd5a08.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::
Diffstat (limited to 'src/mongo/db/catalog/collection_compact.cpp')
-rw-r--r--src/mongo/db/catalog/collection_compact.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/collection_compact.cpp b/src/mongo/db/catalog/collection_compact.cpp
index 45ab8dba952..5b9fa7a4878 100644
--- a/src/mongo/db/catalog/collection_compact.cpp
+++ b/src/mongo/db/catalog/collection_compact.cpp
@@ -27,7 +27,7 @@
* it in the license file.
*/
-#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kStorage
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kStorage
#include "mongo/db/catalog/collection_compact.h"
@@ -46,7 +46,7 @@
namespace mongo {
-using logger::LogComponent;
+using logv2::LogComponent;
namespace {
@@ -104,7 +104,7 @@ StatusWith<int64_t> compactCollection(OperationContext* opCtx,
}
LOGV2_OPTIONS(20284,
- {logComponentV1toV2(LogComponent::kCommand)},
+ {LogComponent::kCommand},
"compact {collectionNss} begin",
"collectionNss"_attr = collectionNss);