Log dir fixes