Fix logging selector