TauLabs/TauLabs — pull request #985 by kubark42 (2013-10-04 10:19:46+00:00)
Title: RFC: Fix logfile cpu

Currently, when the logging plugin gets to the end of a file, the CPU jumps up to 100% usage.

This PR is completely cruft removal except a commented ```close();``` in LogFile::stopReplay(). By not closing the file at the end of the replay, this prevents runaway CPU.

I'm not yet sure why this is. I'm also not sure that the appropriate thing to do when getting to the end of the logfile is to finish the replay and close things up. It might make more sense to leave the connection open in case the user would like to rewind and play back a specific segment.

Thoughts?