Skip to content

Logging-Configuration is not applied to Sentry-Logger-Provider #4539

@Flash0ver

Description

@Flash0ver

Description

Logging-Configuration (e.g. appsettings.json: Logging:LogLevel:Default) is not applied to Sentry-Logger-Provider

  • Sentry.Extensions.Logging
    • Events & Breacrumbs
    • Structured Logs
  • Sentry.AspNetCore
    • Structured Logs

For Breadcrumbs and Events, the Logging-Configuration is applied in Sentry.AspNetCore.

Also consider and review the Serilog integration (see #4462 (comment)).


Thanks @wondertalik for discovering and reporting the issue.
See #4132 (comment).

Metadata

Metadata

Assignees

Projects

Status

No status

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions