Skip to content

Commit 2a74312

Browse files
committed
fix: autobuild/executor: reduce logging
1 parent f764e61 commit 2a74312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/autobuild/executor/lifecycle_executor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (e *Executor) runOnce(t time.Time) error {
8888
}
8989

9090
if !priorJob.CompletedAt.Valid || priorJob.Error.String != "" {
91-
e.log.Warn(e.ctx, "last workspace build did not complete successfully, skipping",
91+
e.log.Debug(e.ctx, "last workspace build did not complete successfully, skipping",
9292
slog.F("workspace_id", ws.ID),
9393
slog.F("error", priorJob.Error.String),
9494
)
@@ -113,7 +113,7 @@ func (e *Executor) runOnce(t time.Time) error {
113113
validTransition = database.WorkspaceTransitionStart
114114
sched, err := schedule.Weekly(ws.AutostartSchedule.String)
115115
if err != nil {
116-
e.log.Warn(e.ctx, "workspace has invalid autostart schedule, skipping",
116+
e.log.Debug(e.ctx, "workspace has invalid autostart schedule, skipping",
117117
slog.F("workspace_id", ws.ID),
118118
slog.F("autostart_schedule", ws.AutostartSchedule.String),
119119
)

0 commit comments

Comments
 (0)