summaryrefslogtreecommitdiff
path: root/src/mongo/logv2/json_formatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/logv2/json_formatter.h')
-rw-r--r--src/mongo/logv2/json_formatter.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/logv2/json_formatter.h b/src/mongo/logv2/json_formatter.h
index 44d9b7ea66d..9d791b9d9ca 100644
--- a/src/mongo/logv2/json_formatter.h
+++ b/src/mongo/logv2/json_formatter.h
@@ -32,7 +32,6 @@
#include <boost/log/core/record_view.hpp>
#include <boost/log/utility/formatting_ostream_fwd.hpp>
-#include "mongo/db/tenant_id.h"
#include "mongo/logv2/attribute_storage.h"
#include "mongo/logv2/constants.h"
#include "mongo/logv2/log_component.h"
@@ -59,7 +58,7 @@ public:
StringData message,
const TypeErasedAttributeStorage& attrs,
LogTag tags,
- const TenantId* tenant,
+ const std::string& tenant,
LogTruncation truncation) const;
void operator()(boost::log::record_view const& rec, boost::log::formatting_ostream& strm) const;