Skip to content

Commit

Permalink
[serve] Add node ID to replica started log (#36385)
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
  • Loading branch information
edoakes authored Jun 14, 2023
1 parent 181330c commit 87f0c97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/ray/serve/_private/deployment_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,8 @@ def _check_startup_replicas(
self._replicas.add(ReplicaState.RUNNING, replica)
transitioned_to_running = True
logger.info(
f"Replica {replica.replica_tag} started successfully.",
f"Replica {replica.replica_tag} started successfully "
f"on node {replica.actor_node_id}.",
extra={"log_to_stderr": False},
)
elif start_status == ReplicaStartupStatus.FAILED:
Expand Down

0 comments on commit 87f0c97

Please sign in to comment.