diff options
author | Reo Kimura <reo.kimura@mongodb.com> | 2021-09-28 18:43:28 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-09-28 21:33:48 +0000 |
commit | 2d99aee4dae55283d78993097f5e18f74c0644e1 (patch) | |
tree | 2d79e8d1d4d63ec3705220ce262429e691e06d84 | |
parent | 252a3d8eae651aaca999147af8157b35bd3534d5 (diff) | |
download | mongo-2d99aee4dae55283d78993097f5e18f74c0644e1.tar.gz |
SERVER-53242 Log line added to collMod command
-rw-r--r-- | src/mongo/db/catalog/coll_mod.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/coll_mod.cpp b/src/mongo/db/catalog/coll_mod.cpp index cff6c4bb97c..582d073e664 100644 --- a/src/mongo/db/catalog/coll_mod.cpp +++ b/src/mongo/db/catalog/coll_mod.cpp @@ -297,6 +297,10 @@ Status _collModInternal(OperationContext* opCtx, CollModRequest cmr = statusW.getValue(); + if (!serverGlobalParams.quiet.load()) { + log() << "CMD: collMod: " << cmdObj; + } + WriteUnitOfWork wunit(opCtx); // Handle collMod on a view and return early. The View Catalog handles the creation of oplog |