in reply to Re^2: print log file
in thread print log file

That is why the do_test routine skipped the first line it read. It said:

# Has moved somewhere in file. Skip partial line of log: <FILE>;
This just attempts to make the log traversal smaller, not perfect. (Wouldn't be so hard either, of course. But I'm out the door in a few minutes. :-)