Skip to content

docs(dotnet): Say where host apps set EnableLogs - #20829

Merged
ric-oliv merged 1 commit into
masterfrom
docs/dotnet-host-guides-enablelogs
Nov 19, 2026
Merged

ric-oliv merged 1 commit into
masterfrom
docs/dotnet-host-guides-enablelogs

Conversation

@ric-oliv

@ric-oliv ric-oliv commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

DESCRIBE YOUR PR

The "Send Logs" section of the ASP.NET Core, AWS Lambda, Blazor WebAssembly and MAUI guides said "Set EnableLogs = true in your Sentry initialization." Since 7.0.0, SentryOptions has no EnableLogs, so setting it in SentrySdk.Init doesn't compile. The section then sent readers to the Microsoft.Extensions.Logging page, which says an EnableLogs key there makes the app fail at startup.

The sentence now says to set it in the options you pass to UseSentry, which is where these four guides set it. The link goes to the guide's own logs page, which documents EnableLogs.

The ASP.NET Core guide also said "Sentry.AspNetCore 6.x requires .NET 8 or later." 7.x does too, so I dropped the version.

Refs getsentry/sentry-dotnet#5700

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.
Select exactly one option. For deadlines, replace YYYY-MM-DD with the due date. You can update this information later by editing the PR description.

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

The ASP.NET Core, AWS Lambda, Blazor WebAssembly and MAUI guides said to set EnableLogs in your
Sentry initialization and linked the Microsoft.Extensions.Logging page, where an EnableLogs key
makes the app fail at startup. Point at the UseSentry options and the guide's logs page instead.
Also drop the 6.x from the ASP.NET Core .NET requirement, since 7.x needs .NET 8 as well.

Refs getsentry/sentry-dotnet#5700

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Nov 16, 2026 1:57pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Nov 16, 2026 1:57pm UTC

Request Review

@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Nov 16, 2026
@codeowner-assignment
codeowner-assignment Bot requested a review from a team November 16, 2026 13:51
@ric-oliv
ric-oliv marked this pull request as ready for review November 19, 2026 09:04
@codeowner-assignment
codeowner-assignment Bot requested a review from a team November 19, 2026 09:04
@cursor

cursor Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Getting ready to monitor this change · Rollout details

Status Service Environment
⏳ Getting ready to monitor this change

@ric-oliv
ric-oliv merged commit 31727d5 into master Nov 19, 2026
31 of 32 checks passed
@ric-oliv
ric-oliv deleted the docs/dotnet-host-guides-enablelogs branch November 19, 2026 09:12

This branch was successfully deployed

1 active deployment
Preview – sentry-docs — c5c01576 Deployed Nov 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants