added logging and skipping completed commits