Court allows suit on logging impact on wildlife