correct logfile variable