Flush log explicitly.