Skip to content

Commit 760a4b8

Browse files
committed
add tcp socket bound log
1 parent 1a9eebf commit 760a4b8

File tree

1 file changed

+6
-0
lines changed
  • pulsebeam-runtime/src/net

1 file changed

+6
-0
lines changed

pulsebeam-runtime/src/net/tcp.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ pub async fn bind(
4141
let ip_counts_clone = ip_counts.clone();
4242
let semaphore_clone = conn_semaphore.clone();
4343

44+
tracing::info!(
45+
%addr,
46+
%local_addr,
47+
"TCP socket bound"
48+
);
49+
4450
// Passive Listener Task
4551
tokio::spawn(async move {
4652
while let Ok((stream, peer_addr)) = listener.accept().await {

0 commit comments

Comments
 (0)