Allow --logfile with --device