Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MaxRetries / MaximumRetries configurations are not working correctly in Elastic.Serilog.Sinks #335

Open
osaber12 opened this issue Sep 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@osaber12
Copy link

ECS integration/library project(s):
Elastic.Serilog.Sinks
**ECS schema version **:
8.6.1
ECS .NET assembly version:
.net 6
Elasticsearch version (if applicable):
8.10.2
.NET framework / OS:
.net 6 / windows

Description of the problem, including expected versus actual behavior:
BufferOptions > ExportMaxRetries
TransportConfiguration > MaximumRetries
none of these configurations are working as it keeps calling ExportExceptionCallback forever and when using ExportItemsAttemptCallback the number of retries is always 0
Steps to reproduce:

  1. run project with the elasticsearch container running to make sure startup configuration is correct
  2. stop elasticsearch container
  3. do any activity that writes any logs and observe ExportExceptionCallback and ExportItemsAttemptCallback
@osaber12 osaber12 added the bug Something isn't working label Sep 25, 2023
@osaber12 osaber12 changed the title [BUG] MaxRetries / MaximumRetries are not working correctly [BUG] MaxRetries / MaximumRetries configurations are not working correctly in Elastic.Serilog.Sinks Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant