Added revert rotate log handler patch