Cleanup internal logs. Closes #2155