Skip to content

Commit f67f81c

Browse files
pzhan9meta-codesync[bot]
authored andcommitted
Log proc_id's pid when available (#1904)
Summary: Pull Request resolved: #1904 It is useful to know which pid this proc is running on. In the long run, we probably should use hyper cli to get this info, but a log should be also good as a quick workaround. Reviewed By: mariusae Differential Revision: D87112445 fbshipit-source-id: d0c2a7c92b8234dcdecddffd34270a90c6e4785f
1 parent 3395547 commit f67f81c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hyperactor_mesh/src/bootstrap.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,7 @@ impl BootstrapProcHandle {
933933
addr: ChannelAddr,
934934
agent: ActorRef<ProcMeshAgent>,
935935
) -> bool {
936+
tracing::info!(proc_id = %self.proc_id, %addr, "{} running on pid {}", self.proc_id, pid);
936937
self.transition(|st| match st {
937938
ProcStatus::Starting | ProcStatus::Running { .. } => {
938939
*st = ProcStatus::Ready {

0 commit comments

Comments
 (0)