-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
optimized log watching for multiple filters on the same log file #776
Comments
yes AFAIK |
It would be nice to have a logic that optimizes this. |
agree |
I am very weak in python, debugging at most. |
1/2 solution |
if it hurts you so badly I guess you could indeed manually merge those |
Thank you! |
On Tue, 19 Aug 2014, Viktor Szépe wrote:
it can stay open since it is a valid enhancement request, so may be Yaroslav O. Halchenko, Ph.D. |
Maybe someone would be glad to have this feature in fail2ban. |
suggest close this 'issue', if using inotify (pyinotify) this is irrelevant. A watch is added and signals used to notify fail2ban to reexamine - so the log isn't really 'open' (use lsof to test). This is kernel level, so suggestions to 'save some disk load' should be directed to kernel-dev's. |
Now what I do is merge filters for the same log files by hand. Actually joining regexps. |
just to link #1379 |
Does fail2ban open a log file twice if I set up two jails for the same log with different filters?
The text was updated successfully, but these errors were encountered: