I'm using EnableRetryOnFailure in a .Net core EF application and have added logic as per https://www.npgsql.org/efcore/misc/other.html. I'd like to be able to tell when/if these events happen as a confirmation that it's working, and not just the absence of any transient connection errors.
Thanks in advance for any pointers. Reuven
Logging can be enabled through an override in your context class.
Source: https://makolyte.com/how-to-do-retries-in-ef-core/