$ prog | tee /tmp/log.txt
So, tail suites my needs in the rare cases something unexpected seems to be happening.
$ prog | tee /tmp/log.txt