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.OpenSearch 1.0.0 #584
Open
2 of 8 tasks
A few questions before you begin:
Does this issue relate to a new feature or an existing bug?
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.
Please describe the current behavior?
Before Serilog.Sinks.Elasticsearch 10.0.0, I worked with Serilog.Sinks.Elasticsearch 9.0.3 and Serilog.Sinks.OpenSearch 1.0.0, 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.OpenSearch.OpenSearchSink' from assembly 'Serilog.Sinks.OpenSearch, Version=1.0.0.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.OpenSearch 1.0.0
If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem
To reproduce the bug, simply install the Serilog.Sinks.Elasticsearch 10.0.0 package in the project and start the application. If the logs start with the project, the error will be displayed on the screen.
The text was updated successfully, but these errors were encountered: