Skip to content

Commit b0b0103

Browse files
committed
send mdc.<key> for logs
1 parent 4244da7 commit b0b0103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry/src/main/java/io/sentry/util/LoggerPropertiesUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static void applyPropertiesToAttributes(
5959
for (final String key : targetKeys) {
6060
final @Nullable String value = properties.get(key);
6161
if (value != null) {
62-
attributes.add(SentryAttribute.stringAttribute(key, value));
62+
attributes.add(SentryAttribute.stringAttribute("mdc." + key, value));
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)