Adjust query frequency.
The program does currently only query output appended to the log files once per second. This should be adjusted to the inverse of the recently occurred frequency of updates to the files.
I.e. if the file saw 5 lines added in the last second the the sleep time should be adjusted to 0.2 seconds.