Skip to content

Commit 5bf5511

Browse files
adinauerclaude
andcommitted
fix(samples): Use Spring logging Logs option
Keep structured Logs enabled in the Spring Boot Log4j2 samples after removing the aggregate Logs configuration. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e1d35f2 commit 5bf5511

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎sentry-samples/sentry-samples-spring-boot-4-log4j2/src/main/resources/application.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sentry.enable-backpressure-handling=true
1717
sentry.enable-spotlight=true
1818
sentry.enablePrettySerializationOutput=false
1919
sentry.in-app-includes="io.sentry.samples"
20-
sentry.logs.enabled=true
20+
sentry.logging.logs-enabled=true
2121
sentry.profile-session-sample-rate=1.0
2222
sentry.profiling-traces-dir-path=tmp/sentry/profiling-traces
2323
sentry.profile-lifecycle=TRACE

‎sentry-samples/sentry-samples-spring-boot-jakarta-log4j2/src/main/resources/application.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sentry.enable-backpressure-handling=true
1717
sentry.enable-spotlight=false
1818
sentry.enablePrettySerializationOutput=false
1919
sentry.in-app-includes="io.sentry.samples"
20-
sentry.logs.enabled=true
20+
sentry.logging.logs-enabled=true
2121
sentry.profile-session-sample-rate=1.0
2222
sentry.profiling-traces-dir-path=tmp/sentry/profiling-traces
2323
sentry.profile-lifecycle=TRACE

0 commit comments

Comments
 (0)