From 3a4952df321dd2719bdd80522040ec0689a600f1 Mon Sep 17 00:00:00 2001 From: Lakshan Perera Date: Thu, 2 Feb 2023 11:51:17 +0700 Subject: [PATCH] fix: move listening log to debug --- base/src/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/src/server.rs b/base/src/server.rs index a57cc59b..2391bb94 100644 --- a/base/src/server.rs +++ b/base/src/server.rs @@ -1,6 +1,6 @@ use crate::js_worker; use anyhow::{bail, Error}; -use log::{error, info}; +use log::{debug, error, info}; use std::net::IpAddr; use std::net::Ipv4Addr; use std::net::SocketAddr; @@ -97,7 +97,7 @@ impl Server { pub async fn listen(&self) -> Result<(), Error> { let addr = SocketAddr::new(IpAddr::V4(self.ip), self.port); let listener = TcpListener::bind(&addr).await?; - info!("listening on {:?}", listener.local_addr()?); + debug!("edge-runtime is listening on {:?}", listener.local_addr()?); loop { tokio::select! {