Ensure logging from tools writes out properly
Merge pull request #901 from bchess/tool_logging

Ensure logging from tools writes out properly