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

Add log_filter to filter out sensitive element values #230

Closed
wants to merge 1 commit into from

Conversation

THEY
Copy link

@THEY THEY commented Sep 27, 2011

I needed to log messages, but wanted to filter out sensitive element values (i.e. credit card numbers, etc).

This patch adds a log_filter configuration variable - which takes an array of strings. The filter will find xml elements (while ignoring namespaces) in log_filter array and will replace it with "FILTERED".

Tests included as well.

@sgulics
Copy link

sgulics commented Sep 28, 2011

This would be very useful

@rubiii
Copy link
Contributor

rubiii commented Sep 28, 2011

i agree. i'll merge asap. thank you @THEY

@rubiii
Copy link
Contributor

rubiii commented Oct 23, 2011

merged and edited to not even try to filter anything else than soap request xml at e5614e6.

@rubiii rubiii closed this Oct 23, 2011
@rubiii
Copy link
Contributor

rubiii commented Feb 15, 2012

released with v0.9.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants