Tail log files periodically, accounting for possible log rotations.