Skip to content

Usenet streaming with a WebDAV server and a SABnzbd-compatible API

C#

Changed log-level to debug for logs relating to retried nntp commands.

nzbdav-dev9461b11382b0
diff --git a/backend/Clients/Usenet/MultiConnectionNntpClient.cs b/backend/Clients/Usenet/MultiConnectionNntpClient.cs
index f690d6a5..1f3cdb51 100644
--- a/backend/Clients/Usenet/MultiConnectionNntpClient.cs
+++ b/backend/Clients/Usenet/MultiConnectionNntpClient.cs
@@ -161,7 +161,7 @@ public class MultiConnectionNntpClient(ConnectionPool<INntpClient> connectionPoo
LogException(() => connectionLock?.Dispose());
if (retryCount > 0)
{
- Log.Warning(e, "Error getting connection-lock. Retrying with a new connection.");
+ Log.Debug(e, "Error getting connection-lock. Retrying with a new connection.");
retryCount--;
continue;
}
@@ -194,7 +194,7 @@ public class MultiConnectionNntpClient(ConnectionPool<INntpClient> connectionPoo
LogException(() => connectionLock?.Dispose());
if (retryCount > 0)
{
- Log.Warning(e, $"Error executing nntp {name} command. Retrying with a new connection.");
+ Log.Debug(e, $"Error executing nntp {name} command. Retrying with a new connection.");
retryCount--;
continue;
}