Skip to content

Commit 364a22c

Browse files
James Sunfacebook-github-bot
authored andcommitted
lower logging level for stopping actors (#859)
Summary: Pull Request resolved: #859 error! will show up on user screen. It is not a critical error per se as it doesn't throw an error or requires some action item to mitigate it. Lower it to warn! {F1981181213} Reviewed By: LucasLLC Differential Revision: D80192060 fbshipit-source-id: 7a6108102250ae1806f231a1c81403292d1e2177
1 parent ba2a023 commit 364a22c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hyperactor_mesh/src/proc_mesh.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,16 +502,16 @@ impl ProcMesh {
502502
for (actor_id, result) in results {
503503
match result {
504504
Ok(StopActorResult::Timeout) => {
505-
tracing::error!("timed out while stopping actor {}", actor_id);
505+
tracing::warn!("timed out while stopping actor {}", actor_id);
506506
}
507507
Ok(StopActorResult::NotFound) => {
508-
tracing::error!("no actor {} on proc {}", actor_id, actor_id.proc_id());
508+
tracing::warn!("no actor {} on proc {}", actor_id, actor_id.proc_id());
509509
}
510510
Ok(StopActorResult::Success) => {
511511
tracing::info!("stopped actor {}", actor_id);
512512
}
513513
Err(e) => {
514-
tracing::error!("error stopping actor {}: {}", actor_id, e);
514+
tracing::warn!("error stopping actor {}: {}", actor_id, e);
515515
}
516516
}
517517
}

0 commit comments

Comments
 (0)