summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.cpp
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2020-05-14 15:38:14 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-15 20:44:35 +0000
commit6b38c78843e7eb58dc344d88903727762d7d486d (patch)
treed08071ed14f728761293ec9a1ce37ccf8ac2191b /src/mongo/db/curop.cpp
parent2c0306062f074fb35c0554e577401227a45ad811 (diff)
downloadmongo-6b38c78843e7eb58dc344d88903727762d7d486d.tar.gz
SERVER-48148 Cleanup of execution logs in db/
Diffstat (limited to 'src/mongo/db/curop.cpp')
-rw-r--r--src/mongo/db/curop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp
index 8a9ef9be44d..d437ebd87e8 100644
--- a/src/mongo/db/curop.cpp
+++ b/src/mongo/db/curop.cpp
@@ -478,7 +478,7 @@ bool CurOp::completeAndLogOperation(OperationContext* opCtx,
"Failed to gather storage statistics for {opId} due to {reason}",
"Failed to gather storage statistics for slow operation",
"opId"_attr = opCtx->getOpID(),
- "reason"_attr = "lock acquire timeout"_sd);
+ "error"_attr = "lock acquire timeout"_sd);
}
} catch (const ExceptionForCat<ErrorCategory::Interruption>& ex) {
LOGV2_WARNING_OPTIONS(
@@ -487,7 +487,7 @@ bool CurOp::completeAndLogOperation(OperationContext* opCtx,
"Failed to gather storage statistics for {opId} due to {reason}",
"Failed to gather storage statistics for slow operation",
"opId"_attr = opCtx->getOpID(),
- "reason"_attr = redact(ex));
+ "error"_attr = redact(ex));
}
}