Now monitors log files based on file sizes and offsets rather than repeatedly reading every line.