Skip to content

Sentry.Serilog Does Not Use ISentryEventProcessor When Microsoft.Extensions.Logging.ILogger Is Used #5265

@Mike-E-angelo

Description

@Mike-E-angelo

Package

Sentry.Serilog

.NET Flavor

.NET

.NET Version

10.0.300

OS

Windows

OS Version

11

Development Environment

Visual Studio v18.x

Other Error Monitoring Solution

Yes

Other Error Monitoring Solution Name

Serilog

SDK Version

6.5.0

Self-Hosted Sentry Version

No response

Workload Versions

Workload version: 10.0.300-manifests.e0989437

Installed Workload Id      Manifest Version      Installation Source
--------------------------------------------------------------------

Use `dotnet workload search` to find additional workloads to install.

UseSentry or SentrySdk.Init call

https://github.com/Mike-E-angelo/Stash/blob/master/Sentry.Samples.AspNetCore.Serilog/Program.cs#L36

Steps to Reproduce

  1. Load https://github.com/Mike-E-angelo/Stash/blob/master/Sentry.Samples.AspNetCore.Serilog/Sentry.Samples.AspNetCore.Serilog.slnx
  2. Assign Dsn
  3. Press F5

Expected Result

This line calls registered ISentryEventProcessors

Actual Result

This line does NOT call registered ISentryEventProcessors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions