Explorar o código

Log connectivity changes at debug level (#1275)

Motivation:

gRPC should only log at debug/trace. This one was missed.

Modifications:

- Log connectivity changes at debug level

Result:

No more info level logs.
George Barnett %!s(int64=4) %!d(string=hai) anos
pai
achega
13b0ce9819
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/GRPC/ConnectivityState.swift

+ 1 - 1
Sources/GRPC/ConnectivityState.swift

@@ -119,7 +119,7 @@ public class ConnectivityStateMonitor {
     }
 
     if let (oldState, newState) = change {
-      logger.info("connectivity state change", metadata: [
+      logger.debug("connectivity state change", metadata: [
         "old_state": "\(oldState)",
         "new_state": "\(newState)",
       ])