Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Set Braintree log level as a gateway preference #110

Merged
merged 1 commit into from
Jun 8, 2018

Conversation

isaacfreeman
Copy link
Contributor

The braintree gem provides a default logger that logs at the INFO level, which clutters logs a bit.

This provides a gateway preference for log level, and sets the default a notch higher to WARN.

@tvdeyen
Copy link
Member

tvdeyen commented Jul 24, 2017

Why don't we use the current debug level of the application?

@tvdeyen
Copy link
Member

tvdeyen commented Oct 20, 2017

@isaacfreeman do you think it makes sense to use the log level of the rails application?

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use the Rails log level instead

The `braintree` gem provides a default logger that logs at the INFO level, which clutters logs a bit.

This replace sit with a logger that uses the standard Rails log level
@isaacfreeman isaacfreeman force-pushed the feature/suppress_logging branch 2 times, most recently from d757bdf to 63e7b23 Compare November 14, 2017 00:52
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@adammathys adammathys merged commit d23a6af into solidusio:master Jun 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants