This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
FailureCallback
is not used when buffer is enabled
#261
Labels
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.
<PackageReference Include="Serilog.Sinks.Elasticsearch" Version="7.1.0" />
What is the target framework and operating system? See target frameworks & net standard matrix.
Please describe the current behavior?
FailureCallback
is not used when buffer is enabled.Please describe the expected behavior?
FailureCallback
is used, no matter if buffer is enabled or not.If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem
FailureCallback
(and usage of callback enabled):FailureCallback
FailureCallback
FailureCallback
is used inElasticSearchSink.cs
, but not inElasticSearchLogShipper.cs
(the error message "Exception while emitting periodic batch from..." is one of the ones we observed in the SelfLog).The text was updated successfully, but these errors were encountered: