epimorphics / sapi-client-ruby

A client library to help Ruby code to invoke Sapi-NT API endpoints
MIT License
0 stars 0 forks source link

Don't log calls to remote API in production #26

Closed ijdickinson closed 3 years ago

ijdickinson commented 3 years ago

Per discussion on https://github.com/epimorphics/regulated-products/issues/267, requests resulting in 404 responses generate too much log traffic. Some of this is down to the SapiClient logging its calls to the API. Arguably in Rails.env.production? we should default to not logging the API calls