File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
sentry-jul/src/test/kotlin/io/sentry/jul
sentry-log4j2/src/test/kotlin/io/sentry/log4j2
sentry-logback/src/test/kotlin/io/sentry/logback Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -572,7 +572,7 @@ class SentryHandlerTest {
572572 val log = logs.items.first()
573573 assertEquals(" testing MDC properties in logs" , log.body)
574574 val attributes = log.attributes!!
575- assertEquals(" someValue" , attributes[" someTag" ]?.value)
575+ assertEquals(" someValue" , attributes[" mdc. someTag" ]?.value)
576576 assertNull(attributes[" otherTag" ])
577577 }
578578 )
Original file line number Diff line number Diff line change @@ -609,7 +609,7 @@ class SentryAppenderTest {
609609 val log = logs.items.first()
610610 assertEquals(" testing MDC properties in logs" , log.body)
611611 val attributes = log.attributes!!
612- assertEquals(" someValue" , attributes[" someTag" ]?.value)
612+ assertEquals(" someValue" , attributes[" mdc. someTag" ]?.value)
613613 assertNull(attributes[" otherTag" ])
614614 }
615615 )
Original file line number Diff line number Diff line change @@ -837,7 +837,7 @@ class SentryAppenderTest {
837837 val log = logs.items.first()
838838 assertEquals(" testing MDC properties in logs" , log.body)
839839 val attributes = log.attributes!!
840- assertEquals(" someValue" , attributes[" someTag" ]?.value)
840+ assertEquals(" someValue" , attributes[" mdc. someTag" ]?.value)
841841 assertNull(attributes[" otherTag" ])
842842 }
843843 )
You can’t perform that action at this time.
0 commit comments