Skip to content

Commit

Permalink
reduce logging
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Dec 16, 2024
1 parent 5d43787 commit 0e6d9ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flow/connectors/postgres/cdc.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,8 @@ func PullCdcRecords[Items model.Items](
return fmt.Errorf("ParsePrimaryKeepaliveMessage failed: %w", err)
}

logger.Info("Primary Keepalive Message", slog.Any("data", pkm))
logger.Debug("Primary Keepalive Message", slog.Bool("replyRequested", pkm.ReplyRequested),
slog.String("ServerWALEnd", pkm.ServerWALEnd.String()), slog.String("ServerTime", pkm.ServerTime.String()))

if pkm.ServerWALEnd > clientXLogPos {
clientXLogPos = pkm.ServerWALEnd
Expand Down

0 comments on commit 0e6d9ed

Please sign in to comment.