summaryrefslogtreecommitdiff
path: root/src/mongo/logv2/file_rotate_sink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/logv2/file_rotate_sink.cpp')
-rw-r--r--src/mongo/logv2/file_rotate_sink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/logv2/file_rotate_sink.cpp b/src/mongo/logv2/file_rotate_sink.cpp
index aa1038b618d..952d59495fb 100644
--- a/src/mongo/logv2/file_rotate_sink.cpp
+++ b/src/mongo/logv2/file_rotate_sink.cpp
@@ -196,7 +196,7 @@ void FileRotateSink::consume(const boost::log::record_view& rec,
"Writing to log file failed, aborting application",
TypeErasedAttributeStorage(attrs),
LogTag::kNone,
- nullptr /* tenantID */,
+ std::string() /* tenantID */,
LogTruncation::Disabled);
// Commented out log line below to get validation of the log id with the errorcodes
// linter LOGV2(4522200, "Writing to log file failed, aborting application");