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

Improve logging #252

Closed
Dinamiko opened this issue Sep 13, 2021 · 0 comments · Fixed by #253
Closed

Improve logging #252

Dinamiko opened this issue Sep 13, 2021 · 0 comments · Fixed by #253
Milestone

Comments

@Dinamiko
Copy link
Contributor

Dinamiko commented Sep 13, 2021

Currently logger does not print much useful information, ideally it should display more information about PayPal API requests and responses.

It is important that we do so by not compromising sensible information like access token.

Expected logging entry could look like this:

2021-09-14T10:36:47+00:00 INFO POST https://api.sandbox.paypal.com/some-endpoint
Request Body: {"foo":"bar"}
Response Debug ID: abc123
Response: Array
(
    [code] => 200
    [message] => OK
)
@Dinamiko Dinamiko added this to the Release 1.6.0 milestone Sep 13, 2021
@Dinamiko Dinamiko mentioned this issue Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant