check if log count is over limit, then reset