Ver código fonte

chore: move excessively verbose debug statements to trace

draoi 2 anos atrás
pai
commit
cb821b651e
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/net/hosts.rs

+ 2 - 2
src/net/hosts.rs

@@ -859,7 +859,7 @@ impl Hosts {
     pub async fn try_register(&self, addr: Url, new_state: HostState) -> Result<HostState> {
         let mut registry = self.registry.write().await;
 
-        debug!(target: "net::hosts::try_update_registry()", "Try register addr={}, state={}",
+        trace!(target: "net::hosts::try_update_registry()", "Try register addr={}, state={}",
        addr, &new_state);
 
         if registry.contains_key(&addr) {
@@ -878,7 +878,7 @@ impl Hosts {
                 registry.insert(addr.clone(), state.clone());
             }
 
-            debug!(target: "net::hosts::try_update_registry()", "Returning result {:?}", result);
+            trace!(target: "net::hosts::try_update_registry()", "Returning result {:?}", result);
 
             result
         } else {