added logfile directive