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

Backport PR #5038 issue #5036 #5340

Merged
merged 6 commits into from
Nov 5, 2015
Merged

Backport PR #5038 issue #5036 #5340

merged 6 commits into from
Nov 5, 2015

Conversation

epixa
Copy link
Contributor

@epixa epixa commented Nov 5, 2015

Backport PR #5038 issue #5036

simianhacker and others added 6 commits November 5, 2015 17:29
- Closes elastic#5036
- Add `applyFilterToKey()`
- Add test for `applyFilterToKey()`
- Add `filter` attribute to config for reporters
- Add `this.filter` method to `LogFormat` class
- Add ability to specify filters from CLI options
- Add test and fix for removing branch with censor
- Add change regex to use strings
`applyFilterToKey()` used to choke on circular structures by simply recursing through the object passed in. When we create a circular structure though, we generally provide a simplified version of the object via `obj#toJSON()`. This makes logging those objects simple, and now the filter will use the same mechanism before attempting to itterate the object.
epixa added a commit that referenced this pull request Nov 5, 2015
@epixa epixa merged commit f8bad5d into elastic:4.2 Nov 5, 2015
@epixa epixa deleted the backport-pr-5038 branch November 5, 2015 22:41
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