reevoo / sapience-rb

Hasslefree auto-configuration for logging, metrics and exception collection.
MIT License
10 stars 0 forks source link

Filter out sensitive informations from the logs #9

Closed ionut998 closed 8 years ago

ionut998 commented 8 years ago

This PR replaces sensitive informations (like password, credit_card, etc) with [FILTERED] By default the sensitive fields are password and password_confirmation but more fields can be added using sensitive_fields configuration.

This fixes https://github.com/reevoo/sapience-rb/issues/4

mhenrixon commented 8 years ago

I added a note about how to handle changelog entries to this PR.

seddy commented 8 years ago

@mhenrixon - Can you take another look at this please? I've made a couple of amendments to the existing functionality:

mhenrixon commented 8 years ago

:+1: I'll cut a new gem in a bit