Closed zromano closed 1 year ago
In my MR, I made it so we don't log any additional request/response info on a non 200 response.
The client can enable debug logging or look at the request URI that was in the info level log that still happens.
In the future if clients ask for better error logging, we can add some configurable logic in there.
In
DefaultHttpClient
, we allow clients to configure what level of logging they would like to have. This helps clients from leaking sensitive PII into their logs.However, if there is an HTTP error (non
200
code) when communicating with Smartsheet, then we log the entire response.See the logging code below. We should not be using
REQUEST_RESPONSE
here.Asks: