Revert "fix log rotate"

This reverts commit 65ea45a814a2984b289122da1eb812452d7fb050.