From 7a92f589f792beeaec5783f86dfd0887fb572b43 Mon Sep 17 00:00:00 2001 From: Michael Butler Date: Tue, 21 Mar 2023 15:54:26 -0400 Subject: [PATCH] backupccl: stop logging unsanitized backup stmt in schedule executor Informs #99145 Release note: None --- pkg/ccl/backupccl/schedule_exec.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/ccl/backupccl/schedule_exec.go b/pkg/ccl/backupccl/schedule_exec.go index 3220c64feb02..fb7d2d3881ed 100644 --- a/pkg/ccl/backupccl/schedule_exec.go +++ b/pkg/ccl/backupccl/schedule_exec.go @@ -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())