From 6012b57e95eb1e6b4702e4c23f05a57d9d53cd70 Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Thu, 2 Feb 2023 11:55:41 -0600 Subject: [PATCH] improvement: log connection details at INFO level --- src/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.rs b/src/server.rs index 8b34ebb..fa53ba1 100644 --- a/src/server.rs +++ b/src/server.rs @@ -600,12 +600,12 @@ async fn nostr_server( // and how many it received from queries. let mut client_published_event_count: usize = 0; let mut client_received_event_count: usize = 0; - debug!("new client connection (cid: {}, ip: {:?})", cid, conn.ip()); + info!("new client connection (cid: {}, ip: {:?})", cid, conn.ip()); let origin = client_info.origin.unwrap_or_else(|| "".into()); let user_agent = client_info .user_agent .unwrap_or_else(|| "".into()); - debug!( + info!( "cid: {}, origin: {:?}, user-agent: {:?}", cid, origin, user_agent );