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

Drop event #52

Open
pravinkarthy opened this issue Jul 25, 2018 · 2 comments
Open

Drop event #52

pravinkarthy opened this issue Jul 25, 2018 · 2 comments

Comments

@pravinkarthy
Copy link

hi,
is there a filter to drop events ? If not, please advise if there would be a option to do so ?

Thanks.

@eran-gil
Copy link
Collaborator

Hey, there isn't one today.
I think this logic doesn't belong in the appender.
It either belongs in your code that writes the log or it belongs to another appender that will write its logs using log4stash.
As for the second option, it should be pretty easy to develop such mechanism.

@urielha
Copy link
Owner

urielha commented Jul 27, 2018

You also can use Filter mechanism of log4net.

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

No branches or pull requests

3 participants