Fixes problems non-existent paths for logfiles.