log saving after done