Fix logging options