Logging options, solves #601