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

Serilog.Sinks.Elasticsearch 10.0.0 don't works with Serilog.Sinks.MariaDB 1.0.1 #582

Open
3 of 9 tasks
astanchev opened this issue Apr 8, 2024 · 0 comments
Open
3 of 9 tasks

Comments

@astanchev
Copy link

astanchev commented Apr 8, 2024

A few questions before you begin:

Is this an issue related to the Serilog core project or one of the sinks or
community projects.
This issue list is intended for Serilog Elasticsearch Sink issues. If this issue relates to another sink or to the code project,
please log on the related repository. Please use Gitter chat and Stack Overflow for discussions and questions.

Does this issue relate to a new feature or an existing bug?

  • Bug
  • New Feature

What version of Serilog.Sinks.Elasticsearch is affected? Please list the related NuGet package.
Serilog.Sinks.Elasticsearch 10.0.0

What is the target framework and operating system? See target frameworks & net standard matrix.

  • netCore 2.0
  • netCore 1.0
  • 4.7
  • 4.6.x
  • 4.5.x
  • .NET 6
  • .NET 8

Please describe the current behavior?

Before Serilog.Sinks.Elasticsearch 10.0.0, I worked with Serilog.Sinks.Elasticsearch 9.0.3 and Serilog.Sinks.MariaDB 1.0.1, and everything worked OK.

But when I upgraded to Serilog.Sinks.Elasticsearch 10.0.0, I started receiving the error:
"Could not load type 'Serilog.Sinks.MariaDB.Sinks.MariaDBSink' from assembly 'Serilog.Sinks.MariaDB, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null' because the parent type is sealed."

I didn't change anything else in my code except the upgrading of the version of Serilog.Sinks.Elasticsearch. When I downgraded Serilog.Sinks.Elasticsearch to version 9.0.3, again everything is working fine.

Please describe the expected behavior?
Serilog.Sinks.Elasticsearch 10.0.0 to work with Serilog.Sinks.MariaDB 1.0.1

If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant