diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2020-05-14 15:38:14 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-15 20:44:35 +0000 |
commit | 6b38c78843e7eb58dc344d88903727762d7d486d (patch) | |
tree | d08071ed14f728761293ec9a1ce37ccf8ac2191b /src/mongo/db/curop.cpp | |
parent | 2c0306062f074fb35c0554e577401227a45ad811 (diff) | |
download | mongo-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.cpp | 4 |
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)); } } |