Started better log saving