diff --git a/core/src/ssl.rs b/core/src/ssl.rs index be6972c..53884b6 100644 --- a/core/src/ssl.rs +++ b/core/src/ssl.rs @@ -41,7 +41,6 @@ impl AllowAny { impl ClientCertVerifier for AllowAny { fn client_auth_root_subjects(&self) -> &[DistinguishedName] { - info!("In Farmer client_auth_root_subjects"); &[] } fn client_auth_mandatory(&self) -> bool { @@ -53,7 +52,6 @@ impl ClientCertVerifier for AllowAny { _intermediates: &[rustls::Certificate], _now: SystemTime, ) -> Result { - info!("In Farmer verify_client_cert"); Ok(ClientCertVerified::assertion()) } } diff --git a/servers/src/rpc/mod.rs b/servers/src/rpc/mod.rs index 1e3d8dc..f584376 100644 --- a/servers/src/rpc/mod.rs +++ b/servers/src/rpc/mod.rs @@ -9,7 +9,7 @@ use hyper::server::conn::http1::Builder; use hyper::service::service_fn; use hyper::{Request, Response}; use hyper_util::rt::TokioIo; -use log::{error, info}; +use log::{error}; use rustls::{RootCertStore, ServerConfig}; use std::env; use std::io::{Error, ErrorKind}; @@ -77,7 +77,6 @@ impl RpcServer { Ok((stream, _)) => { match acceptor.accept(stream).await { Ok(stream) => { - info!("New Client Connection"); let server = server.clone(); let service = service_fn(move |req| { let server = server.clone(); diff --git a/servers/src/websocket/mod.rs b/servers/src/websocket/mod.rs index 1a4b558..931c69f 100644 --- a/servers/src/websocket/mod.rs +++ b/servers/src/websocket/mod.rs @@ -17,7 +17,7 @@ use hyper::service::service_fn; use hyper::{Request, Response}; use hyper_tungstenite::{is_upgrade_request, upgrade, HyperWebsocket}; use hyper_util::rt::TokioIo; -use log::{debug, error, info}; +use log::{debug, error}; use rustls::{Certificate, PrivateKey, RootCertStore, ServerConfig}; use std::collections::HashMap; use std::io::{Error, ErrorKind}; @@ -122,7 +122,6 @@ impl WebsocketServer { res = listener.accept() => { match res { Ok((stream, _)) => { - info!("New Client Connection"); let peers = peers.clone(); let message_handlers = handlers.clone(); let stream = acceptor.accept(stream).await?;