Manage log files such that the last one always persists.

> May not work...! API was very 'jank'
Merge origin/master