Add trace level to print out reponse thrift objects. Allows user to control wether these are printed or not to avoid pollution.

This commit is contained in:
Renan DelValle 2019-01-08 16:56:36 -08:00
commit 24e63d6954
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
3 changed files with 26 additions and 6 deletions

View file

@ -148,7 +148,7 @@ func (r *realisClient) thriftCallWithRetries(thriftCall auroraThriftCall) (*auro
resp, clientErr = thriftCall()
r.logger.DebugPrintf("Aurora Thrift Call ended resp: %v clientErr: %v\n", resp, clientErr)
r.logger.TracePrintf("Aurora Thrift Call ended resp: %v clientErr: %v\n", resp, clientErr)
}()
// Check if our thrift call is returning an error. This is a retriable event as we don't know