Open syedahsn opened 1 year ago
Hi @syedahsn thanks for the feature request. I think your use case to log statuses during waiter execution makes sense. It is probably worth investigating if other AWS SDKs do this and if so, what the logging looks like. We can use this issue to track further discussion and possible approaches to implementation. Others can 👍 the issue if interested in this as well.
I'd also like to see this feature! Not only to see status changes, but it'd be useful to monitor that things are still operating correctly. Code execution can appear to hang without any progress logging when using waiters as they are now.
Describe the feature
It would be nice to have additional logging during the execution of the
wait
method when using botoWaiters
. Currently, when a boto waiter is used, it does not provide any logging until a failure or success state is reached. It would be useful for users to have an additional flag (such asverbose
etc.) that would make the waiter log the response from the service it is polling, which would allow users to see the status of a service during the waiting period.Use Case
For the example of a EMR step, which can take several minutes to finish. the associated waiter does not display any of the intermediate states that the
describe_step
function returns. It would be nice to see the progression of the job go fromPENDING
toRUNNING
toCOMPLETED
.Proposed Solution
This might be an overly simplistic way, but something along these lines.
Other Information
No response
Acknowledgements
SDK version used
1.29.76
Environment details (OS name and version, etc.)
Ubuntu