added logs for logRotate error cases