Create log dir before appending files