improved logging options