Skip to content

[Feature request]: Resilience Event occured logs should be configurable as Warning unless it's the final attempt that failed #2162

@sander1095

Description

@sander1095

Is your feature request related to a specific problem? Or an existing feature?

Polly reports Resilience Event occurred .. logs as Error, even when it's the first attempt that failed and multiple attempts will still be made.

This makes the log show up as an error, possibly setting off alerts even though it isn't really an error until the retry mechanisms have truly failed.

Describe the solution you'd like

I would like to be able to configure failed retries to get logged as Warning. When the final attempt fails, that could then be logged as an error.

This means that I will only see true errors (that might need investigation) in my error screen.

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions