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

Retry logs #726

Open
4 tasks done
Band-Aid opened this issue Mar 17, 2021 · 4 comments
Open
4 tasks done

Retry logs #726

Band-Aid opened this issue Mar 17, 2021 · 4 comments

Comments

@Band-Aid
Copy link

Description of the Issue

The box SDK natively handles retry attempts and there seems to be no way to get the retry attempt logs.
Is there a way to catch the retry logs from the sdk?
I would like to capture the logs to prevent retry events from happening in the future.

Steps to Reproduce

Trigger exponential backoff scenario such as 429, 500, etc

(response.StatusCode == TooManyRequests

Expected Behavior

Catch retry attempts

Error Message, Including Stack Trace

Screenshots

Versions Used

.Net SDK: latest version
Windows 10

@sujaygarlanka
Copy link
Contributor

@Band-Aid There are logs that are created by the Debug.WriteLine() statements.

@Band-Aid
Copy link
Author

@saguiitay Thanks but those logs are only visible in debug mode. I want to capture the logs as a object and export them as logs.

@salexkidd
Copy link

@Band-Aid +1

@saguiitay
Users may use the Box Windows SDK to create GUI programs.
Delays and retries information can be a necessary part of the process, especially when creating tools that interact with Box with large numbers of files.

For this, is it possible to use a mechanism such as Cocoa's Notification Center to publish events so that the programmer knows what is happening in the SDK?

@stale
Copy link

stale bot commented Dec 19, 2022

This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants