mirror of
https://github.com/Radarr/Radarr
synced 2024-12-24 08:52:38 +00:00
Removed "nzbdrone" "iisexpress" spam from console.
This commit is contained in:
parent
cc60b972fd
commit
2eb14d93b7
2 changed files with 1 additions and 2 deletions
|
@ -25,7 +25,6 @@ public static bool IsProduction
|
||||||
{
|
{
|
||||||
if (isInDebug || Debugger.IsAttached) return false;
|
if (isInDebug || Debugger.IsAttached) return false;
|
||||||
|
|
||||||
Console.WriteLine(processName);
|
|
||||||
if (processName.Contains("nunit")) return false;
|
if (processName.Contains("nunit")) return false;
|
||||||
if (processName.Contains("jetbrain")) return false;
|
if (processName.Contains("jetbrain")) return false;
|
||||||
if (processName.Contains("resharper")) return false;
|
if (processName.Contains("resharper")) return false;
|
||||||
|
|
|
@ -118,7 +118,7 @@ public virtual void StopServer()
|
||||||
private void OnOutputDataReceived(object s, DataReceivedEventArgs e)
|
private void OnOutputDataReceived(object s, DataReceivedEventArgs e)
|
||||||
{
|
{
|
||||||
if (e == null || String.IsNullOrWhiteSpace(e.Data) || e.Data.StartsWith("Request started:") ||
|
if (e == null || String.IsNullOrWhiteSpace(e.Data) || e.Data.StartsWith("Request started:") ||
|
||||||
e.Data.StartsWith("Request ended:") || e.Data == ("IncrementMessages called") || e.Data == "iisexpress" || e.Data == "nzbdrone")
|
e.Data.StartsWith("Request ended:") || e.Data == ("IncrementMessages called"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Console.WriteLine(e.Data);
|
Console.WriteLine(e.Data);
|
||||||
|
|
Loading…
Reference in a new issue