From b62fbce82614fc72f013eaff1b96e1a5644bfb12 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 16 Jul 2020 11:36:26 +0800 Subject: [PATCH] mgmt: log incoming connection --- src/runtime/src/mgmt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/src/mgmt.rs b/src/runtime/src/mgmt.rs index 79f811d..c53b022 100644 --- a/src/runtime/src/mgmt.rs +++ b/src/runtime/src/mgmt.rs @@ -33,6 +33,7 @@ async fn get_logger_buffer() -> LogBufferRef<'static> { async fn handle_connection(stream: &mut TcpStream, pull_id: Rc>) -> Result<(), Error> { Request::read_magic(stream).await?; + info!("received connection"); loop { let req = Request::read_from(stream).await;