how the rain forest is affected by logging