Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blazor debug/trace auth logging for 7.0 #27173

Closed
guardrex opened this issue Oct 3, 2022 · 0 comments · Fixed by #27175 or #27176
Closed

Blazor debug/trace auth logging for 7.0 #27173

guardrex opened this issue Oct 3, 2022 · 0 comments · Fixed by #27175 or #27176

Comments

@guardrex
Copy link
Collaborator

guardrex commented Oct 3, 2022

WASM debug/trace auth logging for 7.0 or later

Note to self: Place in the logging topic and cross-link from the WASM security node, especially in the Troubleshooting sections of each doc.

For example ...

#if DEBUG
    builder.Logging.AddFilter(
        "Microsoft.AspNetCore.Components.WebAssembly.Authentication", 
        LogLevel.Debug);
#endif

... or in appsettings.Development.json ...

{
  "DetailedErrors": true,
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information",
      "Microsoft.AspNetCore.Components.WebAssembly.Authentication": "Debug"
    }
  }
}

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@dotnet-bot dotnet-bot added Blazor Source - Docs.ms Docs Customer feedback via GitHub Issue labels Oct 3, 2022
@guardrex guardrex added 7.0 Pri1 doc-enhancement and removed Source - Docs.ms Docs Customer feedback via GitHub Issue labels Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
2 participants