Fix logging directory