mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Ignore more signalr non-errors
This commit is contained in:
parent
a1ff7cbef0
commit
f7adb19474
@ -59,14 +59,22 @@ private LogLevel GetLogLevel(string value)
|
||||
return LogLevel.Trace;
|
||||
}
|
||||
|
||||
if (lower.Contains("signalr") && lower.Contains("an operation was attempted on a nonexistent network connection"))
|
||||
if (lower.Contains("signalr"))
|
||||
{
|
||||
return LogLevel.Trace;
|
||||
}
|
||||
if (lower.Contains("an operation was attempted on a nonexistent network connection"))
|
||||
{
|
||||
return LogLevel.Trace;
|
||||
}
|
||||
|
||||
if (lower.Contains("signalr") && lower.Contains("the network connection was aborted by the local system"))
|
||||
{
|
||||
return LogLevel.Trace;
|
||||
if (lower.Contains("the network connection was aborted by the local system"))
|
||||
{
|
||||
return LogLevel.Trace;
|
||||
}
|
||||
|
||||
if (lower.Contains("the socket has been shut down"))
|
||||
{
|
||||
return LogLevel.Trace;
|
||||
}
|
||||
}
|
||||
|
||||
return LogLevel.Error;
|
||||
|
Loading…
Reference in New Issue
Block a user