From fb7a78246c5b0dbecfea8f697d6889d52044dbff Mon Sep 17 00:00:00 2001 From: Nathaniel Caza Date: Tue, 17 Dec 2024 10:57:40 -0600 Subject: [PATCH] feat: add logging for schedule data updates in cleanup manager --- engine/cleanupmanager/scheddata.go | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/cleanupmanager/scheddata.go b/engine/cleanupmanager/scheddata.go index 25fe6b8934..df80059deb 100644 --- a/engine/cleanupmanager/scheddata.go +++ b/engine/cleanupmanager/scheddata.go @@ -69,6 +69,7 @@ func (db *DB) CleanupScheduleData(ctx context.Context, j *river.Job[SchedDataArg return false, fmt.Errorf("marshal schedule data: %w", err) } + db.logger.InfoContext(ctx, "Updated schedule data.", slog.String("schedule_id", dataRow.ScheduleID.String())) return false, gadb.New(tx).CleanupMgrUpdateScheduleData(ctx, gadb.CleanupMgrUpdateScheduleDataParams{ ScheduleID: dataRow.ScheduleID, Data: rawData,