Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Log all requests and responses to Topcoder APIs #85

Closed
jmgasper opened this issue Sep 17, 2018 · 0 comments
Closed

Log all requests and responses to Topcoder APIs #85

jmgasper opened this issue Sep 17, 2018 · 0 comments

Comments

@jmgasper
Copy link
Collaborator

We need a separate error file that logs all requests and responses to the Topcoder APIs (member API, challenge API, etc...)

Right now it's very, very difficult to use the Papertrail log in Heroku to narrow down specific errors that are happening.

The Topcoder APIs are very flaky and prone to random errors, so we need a way to accurately log the requests and EXACT response from the server.

We need to log all:

  • POST parameters
  • The URL endpoint called
  • Any additional headers used (removing the authorization token)
  • The response code to the call
  • The response message / JSON received

All of this should be logged as a SINGLE message. Right now we have a hard time separating out the requests and responses and errors because there could be multiple requests happening simultaneously. If we log things as a single message, it will be much easier to obtain the needed information for further debugging.

jmgasper pushed a commit that referenced this issue Oct 23, 2018
* #105  (major requirement)
* #104
* #103 (major requirement)
* #101
* #94
* #92
* #91
* #85 (major requirement)
jmgasper pushed a commit that referenced this issue Oct 9, 2019
* #105  (major requirement)
* #104
* #103 (major requirement)
* #101
* #94
* #92
* #91
* #85 (major requirement)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant