summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/schema/json_schema_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/schema/json_schema_parser.cpp')
-rw-r--r--src/mongo/db/matcher/schema/json_schema_parser.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/matcher/schema/json_schema_parser.cpp b/src/mongo/db/matcher/schema/json_schema_parser.cpp
index 82a101fb005..df3c683d493 100644
--- a/src/mongo/db/matcher/schema/json_schema_parser.cpp
+++ b/src/mongo/db/matcher/schema/json_schema_parser.cpp
@@ -1673,17 +1673,17 @@ StatusWithMatchExpression JSONSchemaParser::parse(
bool ignoreUnknownKeywords) {
LOGV2_DEBUG(20728,
5,
- "Parsing JSON Schema: {schema_jsonString_JsonStringFormat_LegacyStrict}",
- "schema_jsonString_JsonStringFormat_LegacyStrict"_attr =
- schema.jsonString(JsonStringFormat::LegacyStrict));
+ "Parsing JSON Schema: {schema}",
+ "Parsing JSON Schema",
+ "schema"_attr = schema.jsonString(JsonStringFormat::LegacyStrict));
try {
auto translation = _parse(expCtx, ""_sd, schema, allowedFeatures, ignoreUnknownKeywords);
if (shouldLog(logv2::LogSeverity::Debug(5)) && translation.isOK()) {
LOGV2_DEBUG(20729,
5,
- "Translated schema match expression: {translation_getValue_debugString}",
- "translation_getValue_debugString"_attr =
- translation.getValue()->debugString());
+ "Translated schema match expression: {expression}",
+ "Translated schema match expression",
+ "expression"_attr = translation.getValue()->debugString());
}
return translation;
} catch (const DBException& ex) {