File tree Expand file tree Collapse file tree 3 files changed +6
-6
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 +6
-6
lines changed Original file line number Diff line number Diff line change @@ -562,15 +562,15 @@ class SentryHandlerTest {
562562
563563 MDC .put(" someTag" , " someValue" )
564564 MDC .put(" otherTag" , " otherValue" )
565- fixture.logger.info(" testing context tags in logs" )
565+ fixture.logger.info(" testing MDC properties in logs" )
566566
567567 Sentry .flush(1000 )
568568
569569 verify(fixture.transport)
570570 .send(
571571 checkLogs { logs ->
572572 val log = logs.items.first()
573- assertEquals(" testing context tags in logs" , log.body)
573+ assertEquals(" testing MDC properties in logs" , log.body)
574574 val attributes = log.attributes!!
575575 assertEquals(" someValue" , attributes[" someTag" ]?.value)
576576 assertEquals(" otherValue" , attributes[" otherTag" ]?.value)
Original file line number Diff line number Diff line change @@ -599,15 +599,15 @@ class SentryAppenderTest {
599599
600600 ThreadContext .put(" someTag" , " someValue" )
601601 ThreadContext .put(" otherTag" , " otherValue" )
602- logger.info(" testing context tags in logs" )
602+ logger.info(" testing MDC properties in logs" )
603603
604604 Sentry .flush(1000 )
605605
606606 verify(fixture.transport)
607607 .send(
608608 checkLogs { logs ->
609609 val log = logs.items.first()
610- assertEquals(" testing context tags in logs" , log.body)
610+ assertEquals(" testing MDC properties in logs" , log.body)
611611 val attributes = log.attributes!!
612612 assertEquals(" someValue" , attributes[" someTag" ]?.value)
613613 assertEquals(" otherValue" , attributes[" otherTag" ]?.value)
Original file line number Diff line number Diff line change @@ -827,15 +827,15 @@ class SentryAppenderTest {
827827 fixture = Fixture (minimumLevel = Level .INFO , enableLogs = true , contextTags = listOf (" someTag" ))
828828 MDC .put(" someTag" , " someValue" )
829829 MDC .put(" otherTag" , " otherValue" )
830- fixture.logger.info(" testing context tags in logs" )
830+ fixture.logger.info(" testing MDC properties in logs" )
831831
832832 Sentry .flush(1000 )
833833
834834 verify(fixture.transport)
835835 .send(
836836 checkLogs { logs ->
837837 val log = logs.items.first()
838- assertEquals(" testing context tags in logs" , log.body)
838+ assertEquals(" testing MDC properties in logs" , log.body)
839839 val attributes = log.attributes!!
840840 assertEquals(" someValue" , attributes[" someTag" ]?.value)
841841 assertEquals(" otherValue" , attributes[" otherTag" ]?.value)
You can’t perform that action at this time.
0 commit comments