add logfile option