Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds option to silence request params logging #259

Merged
merged 4 commits into from
Feb 26, 2016

Conversation

darbyfrey
Copy link
Contributor

@bellycard/platform @bellycard/data

Since this is an ENV that would make it easy to on/off as needed

h[:host] = Napa::Identity.hostname
h[:pid] = Napa::Identity.pid
h[:revision] = Napa::Identity.revision
h[:params] = params unless ENV['SILENCE_REQUEST_PARAMS_LOG'] == 'true'
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to bypass the filtered_parameters here to show everything or did you have trouble with failing specs? For the latter see #258

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! Yea, that was a mistake, I've updated now.

@ashtonthomas
Copy link
Contributor

👍 to removal of gem_dependency
👍 to SILENCE_REQUEST_PARAMS_LOG

one comment

@ashtonthomas
Copy link
Contributor

+1

darbyfrey added a commit that referenced this pull request Feb 26, 2016
Adds option to silence request params logging
@darbyfrey darbyfrey merged commit 1d9cd97 into bellycard:master Feb 26, 2016
@darbyfrey darbyfrey deleted the optional_post_param_logging branch February 26, 2016 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants