@@ -198,13 +198,13 @@ class ManagedSupervisor {
198198 }
199199
200200 this . workerSession . on ( "runNotification" , async ( { time, run } ) => {
201- this . logger . log ( "runNotification" , { time, run } ) ;
201+ this . logger . verbose ( "runNotification" , { time, run } ) ;
202202
203203 this . workloadServer . notifyRun ( { run } ) ;
204204 } ) ;
205205
206206 this . workerSession . on ( "runQueueMessage" , async ( { time, message, dequeueResponseMs, pollingIntervalMs } ) => {
207- this . logger . log ( `Received message with timestamp ${ time . toLocaleString ( ) } ` , message ) ;
207+ this . logger . verbose ( `Received message with timestamp ${ time . toLocaleString ( ) } ` , message ) ;
208208
209209 if ( message . completedWaitpoints . length > 0 ) {
210210 this . logger . debug ( "Run has completed waitpoints" , {
@@ -221,7 +221,7 @@ class ManagedSupervisor {
221221 const { checkpoint, ...rest } = message ;
222222
223223 if ( checkpoint ) {
224- this . logger . log ( "Restoring run" , { runId : message . run . id } ) ;
224+ this . logger . debug ( "Restoring run" , { runId : message . run . id } ) ;
225225
226226 if ( this . isComputeMode && this . computeManager && env . COMPUTE_SNAPSHOTS_ENABLED ) {
227227 try {
@@ -244,7 +244,7 @@ class ManagedSupervisor {
244244 } ) ;
245245
246246 if ( didRestore ) {
247- this . logger . log ( "Compute restore successful" , { runId : message . run . id , runnerId } ) ;
247+ this . logger . debug ( "Compute restore successful" , { runId : message . run . id , runnerId } ) ;
248248 } else {
249249 this . logger . error ( "Compute restore failed" , { runId : message . run . id , runnerId } ) ;
250250 }
@@ -271,7 +271,7 @@ class ManagedSupervisor {
271271 } ) ;
272272
273273 if ( didRestore ) {
274- this . logger . log ( "Restore successful" , { runId : message . run . id } ) ;
274+ this . logger . debug ( "Restore successful" , { runId : message . run . id } ) ;
275275 } else {
276276 this . logger . error ( "Restore failed" , { runId : message . run . id } ) ;
277277 }
@@ -282,14 +282,14 @@ class ManagedSupervisor {
282282 return ;
283283 }
284284
285- this . logger . log ( "Scheduling run" , { runId : message . run . id } ) ;
285+ this . logger . debug ( "Scheduling run" , { runId : message . run . id } ) ;
286286
287287 const warmStartStart = performance . now ( ) ;
288288 const didWarmStart = await this . tryWarmStart ( message ) ;
289289 const warmStartCheckMs = Math . round ( performance . now ( ) - warmStartStart ) ;
290290
291291 if ( didWarmStart ) {
292- this . logger . log ( "Warm start successful" , { runId : message . run . id } ) ;
292+ this . logger . debug ( "Warm start successful" , { runId : message . run . id } ) ;
293293 return ;
294294 }
295295
0 commit comments