permit conditional logging options