I have a process that is logging messages to a file.
I want to implement another process (in Python) that parses these logs (as they are written to the file), filters the lines that I'm interested in and then performs certain actions based on the state of the first process.
I was wondering before I go ahead and write something on my own if there is a library in Python that does something like this.
Also, ideas regarding how implement something like this Python would be appreciated.