Fix up log dir support