Merge "Rotate logs only when there are actual operations"