I'm developing a tool window plugin to monitor and display log entries from a master log file. Is there any way i can capture a project execution event? I need to start monitoring the log file once a project is run, and stop monitoring once completed. My current implementation contains an infinite while loop that continuously monitors the log file. This takes a hit on the performance so I need to make improvements.