diff --git a/services/identity/src/websockets/mod.rs b/services/identity/src/websockets/mod.rs --- a/services/identity/src/websockets/mod.rs +++ b/services/identity/src/websockets/mod.rs @@ -15,7 +15,7 @@ }; use serde::{Deserialize, Serialize}; use tokio::net::TcpListener; -use tracing::{debug, error, info}; +use tracing::{debug, error, info, warn}; mod auth; mod opensearch; @@ -276,10 +276,7 @@ } } _ => { - error!( - errorType = error_types::SEARCH_LOG, - "Invalid authentication message from {}", addr - ); + warn!("Invalid authentication message from {}", addr); close_connection(outgoing).await; return; }