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 blacklist functionality #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

t-8ch
Copy link

@t-8ch t-8ch commented Apr 20, 2016

We see certain hosts submitting invalid data into alfred.
This data makes alfred-json emit a warning twhich in turn triggers cron emails.
The PR adds a simple blacklist functionality to ignore those hosts. This way do not have to suppress all all output from cron json and therefore still receive notifications about other problems.

The patch could use some cleanup which I will perform if I get a general positive feedback.

cc: @christf @oszilloskop @MyIgel

@tcatm
Copy link

tcatm commented Apr 20, 2016

I wonder if a simple flag to suppress these messages could be a better solution.

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