Fix logging directory path.