From 839cca71da794783b5a5c677b4365271f2b97e63 Mon Sep 17 00:00:00 2001 From: IQuant Date: Sat, 9 Nov 2024 20:49:43 +0300 Subject: [PATCH] Reduce logging levels in some cases --- noita-proxy/src/net/world.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/noita-proxy/src/net/world.rs b/noita-proxy/src/net/world.rs index 46098995..063771ea 100644 --- a/noita-proxy/src/net/world.rs +++ b/noita-proxy/src/net/world.rs @@ -790,7 +790,7 @@ impl WorldManager { current_authority, } => { if self.chunk_state.get(&chunk) != Some(&ChunkState::UnloadPending) { - info!("Will request authority transfer"); + debug!("Will request authority transfer"); self.chunk_state.insert(chunk, ChunkState::Transfer); self.emit_msg( Destination::Peer(current_authority), @@ -807,7 +807,7 @@ impl WorldManager { } } WorldNetMessage::RequestAuthorityTransfer { chunk } => { - info!("Got a request for authority transfer"); + debug!("Got a request for authority transfer"); let state = self.chunk_state.get(&chunk); if let Some(ChunkState::Authority { listeners, .. }) = state { let chunk_data = self.outbound_model.get_chunk_data(chunk); @@ -837,7 +837,7 @@ impl WorldManager { chunk_data, listeners, } => { - info!("Transfer ok"); + debug!("Transfer ok"); if let Some(chunk_data) = chunk_data { self.inbound_model.apply_chunk_data(chunk, &chunk_data); self.outbound_model.apply_chunk_data(chunk, &chunk_data); @@ -874,7 +874,7 @@ impl WorldManager { ); } WorldNetMessage::NotifyNewAuthority { chunk } => { - info!("Notified of new authority"); + debug!("Notified of new authority"); let state = self.chunk_state.get_mut(&chunk); if let Some(ChunkState::Listening { authority, .. }) = state { *authority = source;