Make logfile variable