Add --logfile option to start and restart

Make it possible to specify the file where the logs will be written.