Skip to content

Commit 85a0724

Browse files
committed
a few more
1 parent f47c5b3 commit 85a0724

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/verifier/migration_verifier.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,11 @@ func (verifier *Verifier) getDocumentsCursor(ctx context.Context, collection *mo
459459
}
460460
}
461461
findCmd := append(bson.D{{"find", collection.Name()}}, findOptions...)
462-
verifier.logger.Debug().Msgf("getDocuments findCmd: %s opts: %v", findCmd, *runCommandOptions)
462+
verifier.logger.Debug().
463+
Interface("task", task.PrimaryKey).
464+
Str("findCmd", fmt.Sprintf("%s", findCmd)).
465+
Str("options", fmt.Sprintf("%v", *runCommandOptions)).
466+
Msg("getDocuments findCmd.")
463467

464468
return collection.Database().RunCommandCursor(ctx, findCmd, runCommandOptions)
465469
}

0 commit comments

Comments
 (0)