Skip to content

Commit

Permalink
fix: Utilize standard logging output
Browse files Browse the repository at this point in the history
  • Loading branch information
brucexc committed Nov 30, 2023
1 parent 97a0012 commit 0089f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/database/dialer/cockroachdb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (c *client) Commit() error {
func (c *client) LoadCheckpoint(ctx context.Context, id string, chain filter.Chain, worker string) (*engine.Checkpoint, error) {
var value table.Checkpoint

fmt.Println("checkpoint", id, chain.FullName(), worker)
zap.L().Info("load checkpoint", zap.String("id", id), zap.String("fullname", chain.FullName()), zap.String("worker", worker))

if err := c.database.WithContext(ctx).
Where("id = ? AND chain = ? AND worker = ?", id, chain.FullName(), worker).
Expand Down

0 comments on commit 0089f58

Please sign in to comment.