Ensure log folder exists.