don't erase when very little log space is used

erase takes a long time, so let's not do it if there's very little
space (for now).