mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 01:27:00 +00:00
Ignore more signalr non-errors
This commit is contained in:
parent
a1ff7cbef0
commit
f7adb19474
1 changed files with 15 additions and 7 deletions
|
@ -59,16 +59,24 @@ private LogLevel GetLogLevel(string value)
|
||||||
return LogLevel.Trace;
|
return LogLevel.Trace;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lower.Contains("signalr") && lower.Contains("an operation was attempted on a nonexistent network connection"))
|
if (lower.Contains("signalr"))
|
||||||
|
{
|
||||||
|
if (lower.Contains("an operation was attempted on a nonexistent network connection"))
|
||||||
{
|
{
|
||||||
return LogLevel.Trace;
|
return LogLevel.Trace;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lower.Contains("signalr") && lower.Contains("the network connection was aborted by the local system"))
|
if (lower.Contains("the network connection was aborted by the local system"))
|
||||||
{
|
{
|
||||||
return LogLevel.Trace;
|
return LogLevel.Trace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (lower.Contains("the socket has been shut down"))
|
||||||
|
{
|
||||||
|
return LogLevel.Trace;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return LogLevel.Error;
|
return LogLevel.Error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue