vectordotdev / timber-ruby

🌲 Great Ruby logging made easy.
https://timber.io
Other
154 stars 19 forks source link

Ability to turn off logging user names for HIPPA compliance #148

Open binarylogic opened 7 years ago

binarylogic commented 7 years ago

We need a setting for this. I'm wondering if there is any real value in capturing the name if we get the email and id.

DavidAntaramian commented 7 years ago

I'm not sure that the email can be included either since it's personally identifiable. The ID would be a bit of a quagmire.

Is it possible to have an array for the setting that defines what should be excluded? i.e., users.exclude_fields = [:username, :email]