Skip to content
This repository was archived by the owner on Jun 1, 2024. It is now read-only.
This repository was archived by the owner on Jun 1, 2024. It is now read-only.

not working with Serilog.Sinks.PeriodicBatching 3.0.0 #470

@Andrey2G

Description

@Andrey2G

Have updated packages from NuGet and start testing my system, I've got this error
Could not load type 'Serilog.Sinks.Elasticsearch.ElasticsearchSink' from assembly 'Serilog.Sinks.Elasticsearch, Version=8.4.1.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10' because the parent type is sealed.

Have investigated what happen and found this commit in PeriodicBatchingSink class - now it's sealed!
serilog/serilog-sinks-periodicbatching@6978889#diff-dac55c5c5688cbc6cc242bf1498ac9b569316802a1ba56c4cdf4390d1e1e038e

I had have to downgrade Serilog.Sinks.PeriodicBatching to 2.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions