Skip to content

Commit

Permalink
backupccl: stop logging unsanitized backup stmt in schedule executor
Browse files Browse the repository at this point in the history
Informs cockroachdb#99145

Release note: None
  • Loading branch information
msbutler committed Mar 21, 2023
1 parent 3855d70 commit 7a92f58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/ccl/backupccl/schedule_exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ func (e *scheduledBackupExecutor) executeBackup(
}
backupStmt.AsOf = tree.AsOfClause{Expr: endTime}

log.Infof(ctx, "Starting scheduled backup %d: %s",
sj.ScheduleID(), tree.AsString(backupStmt))
log.Infof(ctx, "Starting scheduled backup %d", sj.ScheduleID())

// Invoke backup plan hook.
hook, cleanup := cfg.PlanHookMaker("exec-backup", txn, sj.Owner())
Expand Down

0 comments on commit 7a92f58

Please sign in to comment.