From 922d4becc5719a4fb853d505bd75980bb826a885 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Mon, 20 May 2013 22:12:11 -0700 Subject: [PATCH] toned down unittest logging. --- NzbDrone.Core.Test/NzbDrone.Core.Test.csproj | 4 ---- NzbDrone.Core.Test/log.config | 16 ---------------- NzbDrone.Test.Common/LoggingTest.cs | 4 ++-- 3 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 NzbDrone.Core.Test/log.config diff --git a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj index 78d9e4994..a329ce542 100644 --- a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj +++ b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj @@ -328,10 +328,6 @@ Always - - Designer - Always - Always diff --git a/NzbDrone.Core.Test/log.config b/NzbDrone.Core.Test/log.config deleted file mode 100644 index bce2d6d0c..000000000 --- a/NzbDrone.Core.Test/log.config +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/NzbDrone.Test.Common/LoggingTest.cs b/NzbDrone.Test.Common/LoggingTest.cs index d3873a6ad..111271905 100644 --- a/NzbDrone.Test.Common/LoggingTest.cs +++ b/NzbDrone.Test.Common/LoggingTest.cs @@ -14,9 +14,9 @@ namespace NzbDrone.Test.Common if (LogManager.Configuration == null || LogManager.Configuration is XmlLoggingConfiguration) { LogManager.Configuration = new LoggingConfiguration(); - var consoleTarget = new ConsoleTarget { Layout = "${message} ${exception}" }; + var consoleTarget = new ConsoleTarget { Layout = "${level}: ${message} ${exception}" }; LogManager.Configuration.AddTarget(consoleTarget.GetType().Name, consoleTarget); - LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Trace, consoleTarget)); + LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Info, consoleTarget)); RegisterExceptionVerification(); }