Flush log messages.
Merge pull request #2062 from jpridavok/master

Flush