Unverified Commit 2f15f334 authored by Ryan McCormick's avatar Ryan McCormick Committed by GitHub
Browse files

chore(UX): Log full endpoint name when registering TCP endpoint (#6964)

parent ff6c3f7f
......@@ -294,6 +294,8 @@ impl SharedTcpServer {
endpoint_name: String,
system_health: Arc<Mutex<SystemHealth>>,
) -> Result<()> {
let fqn_endpoint = format!("{namespace}.{component_name}.{endpoint_name}");
let handler = Arc::new(EndpointHandler {
service_handler,
instance_id,
......@@ -314,8 +316,7 @@ impl SharedTcpServer {
.set_endpoint_health_status(&endpoint_name, crate::HealthStatus::Ready);
tracing::info!(
"Registered endpoint '{}' with shared TCP server on {}",
endpoint_name,
"Registered endpoint '{fqn_endpoint}' with shared TCP server on {}",
self.actual_address().unwrap_or(self.bind_addr)
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment