Added logging options to the CLI