Fixing logfile-dir