logfile can be specified when started with "--logfile <filename>"