Change log dir to logfile