diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-07-01 11:42:59 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-07-02 15:27:03 -0400 |
commit | 9c87e0d93dd5332e272797a2a63524a688159e6f (patch) | |
tree | bd72ca1f697c592757ea6b8b215038a7831c3b0e /src | |
parent | 51f76f553c696ebd6d6bb90a97ab66d8b1510a31 (diff) | |
download | mongo-9c87e0d93dd5332e272797a2a63524a688159e6f.tar.gz |
SERVER-41406 Reduce log verbosity for CollectionCatalog
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/catalog/collection_catalog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/collection_catalog.cpp b/src/mongo/db/catalog/collection_catalog.cpp index 546a81cc13f..c32c11405fc 100644 --- a/src/mongo/db/catalog/collection_catalog.cpp +++ b/src/mongo/db/catalog/collection_catalog.cpp @@ -346,7 +346,7 @@ std::vector<std::string> CollectionCatalog::getAllDbNames() const { void CollectionCatalog::registerCollection(CollectionUUID uuid, std::unique_ptr<Collection> coll) { stdx::lock_guard<stdx::mutex> lock(_catalogLock); - LOG(0) << "Registering collection " << coll->ns() << " with UUID " << uuid; + LOG(1) << "Registering collection " << coll->ns() << " with UUID " << uuid; auto ns = coll->ns(); auto dbName = ns.db().toString(); @@ -378,7 +378,7 @@ std::unique_ptr<Collection> CollectionCatalog::deregisterCollection(CollectionUU auto dbName = ns.db().toString(); auto dbIdPair = std::make_pair(dbName, uuid); - LOG(0) << "Deregistering collection " << ns << " with UUID " << uuid; + LOG(1) << "Deregistering collection " << ns << " with UUID " << uuid; // Make sure collection object exists. invariant(_collections.find(ns) != _collections.end()); @@ -413,7 +413,7 @@ void CollectionCatalog::deregisterAllCollections() { auto dbName = ns.db().toString(); auto dbIdPair = std::make_pair(dbName, uuid); - LOG(0) << "Deregistering collection " << ns << " with UUID " << uuid; + LOG(1) << "Deregistering collection " << ns << " with UUID " << uuid; entry.second.reset(); } |