failsafe-lib/failsafe

where is the logging?

bytearchive opened this issue · 2 comments

I am trying to integrate with my project and calling any method with delay/backoff policy hangs the thread.... and I want to see whats going on...

the thing does respond after delay and spits out a giant stack-trace...

I tried adding regular java logging for dev.failsafe but I dont see anything....

does your lib spits out any info/debug log so that client developers can see whats going on?

There are event listeners you can use to perform logging, both at the RetryPolicy level and the Failsafe level:

https://failsafe.dev/retry/#event-listeners (bottom of the page)
https://failsafe.dev/event-listeners/

Closing for now. Feel free to reopen if the above didn't answer your question.