1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 01:11:43 +00:00

Removed "nzbdrone" "iisexpress" spam from console.

This commit is contained in:
kay.one 2011-12-01 21:43:50 -08:00
parent cc60b972fd
commit 2eb14d93b7
2 changed files with 1 additions and 2 deletions

View file

@ -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;

View file

@ -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);