waf-fle
waf-fle copied to clipboard
Add support for inotify using File::Tail::Inotify2
Hi, I quickly hacked up mlog2waffle to make it support inotify. In my opinion, this should even enabled by default default when possible. It is missing the FULL_TAIL logic, maybe you could make it work as well or maybe it should mentioned in the config. Let me know if this pull request looks OK.
sbraz,
Have you used mlog2waffle with your inotify patch? It have improved in some way the performance?
Best regards.
Klaubert
Hi, I do not really have a way of checking whether the performance is better as I never really used the polling method. I found out however that my mlog2waffle tends to use huge amounts of memory when it runs for a few days so I restart it daily. I do not know if that is related to inotify or not.
Thank you for the update, I will check how to integrate with full tail.
Best regards, Klaubert Em 26/08/2015 7:51 AM, "Louis Sautier" [email protected] escreveu:
Hi, I do not really have a way of checking whether the performance is better as I never really used the polling method. I found out however that my mlog2waffle tends to use huge amounts of memory when it runs for a few days so I restart it daily. I do not know if that is related to inotify or not.
— Reply to this email directly or view it on GitHub https://github.com/klaubert/waf-fle/pull/29#issuecomment-134945402.