Fixed log path creation