Removed unnecessary tests in Log Rotation