remove info level logging message and use debug instead (#132)

This commit is contained in:
Sébastien Stormacq 2025-08-10 14:40:56 +02:00 • committed by GitHub
commit 9ad382d397
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -368,7 +368,7 @@ import Logging
// Reset reconnect attempt counter on successful connection
reconnectAttempt = 0
logger.info("Network transport connected successfully")
logger.debug("Network transport connected successfully")
continuation.resume()
// Start the receive loop after connection is established
@ -498,7 +498,7 @@ import Logging
{
// Try to reconnect with exponential backoff
reconnectAttempt += 1
logger.info(
logger.debug(
"Attempting reconnection after \(context) (\(reconnectAttempt)/\(reconnectionConfig.maxAttempts))..."
)
@ -541,7 +541,7 @@ import Logging
connection.cancel()
messageContinuation.finish()
logger.info("Network transport disconnected")
logger.debug("Network transport disconnected")
}
/// Sends data through the network connection
@ -658,7 +658,7 @@ import Logging
// Check connection state
if connection.state != .ready {
logger.info("Connection no longer ready, exiting receive loop")
logger.warning("Connection no longer ready, exiting receive loop")
break
}
}
@ -708,7 +708,7 @@ import Logging
&& reconnectAttempt < reconnectionConfig.maxAttempts
{
reconnectAttempt += 1
logger.info(
logger.warning(
"Network connection lost, attempting reconnection (\(reconnectAttempt)/\(reconnectionConfig.maxAttempts))..."
)
@ -759,7 +759,7 @@ import Logging
{
// Similar reconnection logic for other errors
reconnectAttempt += 1
logger.info(
logger.warning(
"Error during receive, attempting reconnection (\(reconnectAttempt)/\(reconnectionConfig.maxAttempts))..."
)