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

Twilio\Rest\Client to log requests #624

Open
dinamic opened this issue Apr 2, 2020 · 2 comments
Open

Twilio\Rest\Client to log requests #624

dinamic opened this issue Apr 2, 2020 · 2 comments
Labels
status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap

Comments

@dinamic
Copy link

dinamic commented Apr 2, 2020

We've had situations where we wanted to log all RESTful calls, but the SDK does not provide such functionality.

It would be nice if the Twilio\Rest\Client could make use of PSR-3 and have the ability for a logger to be injected into it. A configurable log level would be nice to have, but DEBUG should work for most cases.

Do you think this could be a valuable addition to the library?

@childish-sambino
Copy link
Contributor

Yup, that would be nice to have.

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

@childish-sambino childish-sambino added status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap labels Apr 6, 2020
@zachiler
Copy link

I'm having a new issue in my app where creating the Twilio/Rest/Client fails intermittently. We're adding the necessary handling to log the errors internally and retry since no errors can be seen from Twilio console. Is there a resource you can point me to help with getting this added?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap
Projects
None yet
Development

No branches or pull requests

3 participants