Repository navigation
docs(dotnet): Say where host apps set EnableLogs - #20829
Merged
Merged
Conversation
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]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Contributor
|
Getting ready to monitor this change · Rollout details
|
sentrivana
approved these changes
Nov 19, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
The "Send Logs" section of the ASP.NET Core, AWS Lambda, Blazor WebAssembly and MAUI guides said "Set
EnableLogs = truein your Sentry initialization." Since 7.0.0,SentryOptionshas noEnableLogs, so setting it inSentrySdk.Initdoesn't compile. The section then sent readers to the Microsoft.Extensions.Logging page, which says anEnableLogskey 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 documentsEnableLogs.The ASP.NET Core guide also said "
Sentry.AspNetCore6.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-DDwith the due date. You can update this information later by editing the PR description.PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: