fix log-directory file-path