Skip to content

Commit 48b6105

Browse files
authored
Update CHANGELOG.md
1 parent 75d16bb commit 48b6105

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
- Attach MDC properties to logs as attributes ([#4786](https://github.com/getsentry/sentry-java/pull/4786))
88
- MDC properties set using supported logging frameworks (Logback, Log4j2, java.util.Logging) are now attached to structured logs as attributes.
9+
- The attribute reflected on the log is `mdc.<key>`, where `<key>` is the original key in the MDC.
910
- This means that you will be able to filter/aggregate logs in the product based on these properties.
1011
- Only properties with keys matching the configured `contextTags` are sent as log attributes.
1112
- You can configure which properties are sent using `options.setContextTags` if initalizing manually, or by specifying a comma-separated list of keys with a `context-tags` entry in `sentry.properties` or `sentry.contex-tags` in `application.properties`.

0 commit comments

Comments
 (0)