fix logfile directory