From 2eb14d93b73f1b685ac78690c678adaa745d041a Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 1 Dec 2011 21:43:50 -0800 Subject: [PATCH] Removed "nzbdrone" "iisexpress" spam from console. --- NzbDrone.Common/EnviromentProvider.cs | 1 - NzbDrone.Common/IISProvider.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/NzbDrone.Common/EnviromentProvider.cs b/NzbDrone.Common/EnviromentProvider.cs index 44826f96f..e9d517910 100644 --- a/NzbDrone.Common/EnviromentProvider.cs +++ b/NzbDrone.Common/EnviromentProvider.cs @@ -25,7 +25,6 @@ namespace NzbDrone.Common { if (isInDebug || Debugger.IsAttached) return false; - Console.WriteLine(processName); if (processName.Contains("nunit")) return false; if (processName.Contains("jetbrain")) return false; if (processName.Contains("resharper")) return false; diff --git a/NzbDrone.Common/IISProvider.cs b/NzbDrone.Common/IISProvider.cs index c0c75b4c6..77012fc6a 100644 --- a/NzbDrone.Common/IISProvider.cs +++ b/NzbDrone.Common/IISProvider.cs @@ -118,7 +118,7 @@ namespace NzbDrone.Common private void OnOutputDataReceived(object s, DataReceivedEventArgs e) { 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; Console.WriteLine(e.Data);