From c8ff0bafe30413ccb3c80eebbc47f243a2af0a7f Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Sun, 28 Jan 2018 20:52:13 +0100 Subject: [PATCH] Fix to avoid spamming the console --- Duplicati/UnitTest/SVNCheckoutsTest.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Duplicati/UnitTest/SVNCheckoutsTest.cs b/Duplicati/UnitTest/SVNCheckoutsTest.cs index 146086dce..85d657c7a 100644 --- a/Duplicati/UnitTest/SVNCheckoutsTest.cs +++ b/Duplicati/UnitTest/SVNCheckoutsTest.cs @@ -89,6 +89,10 @@ namespace Duplicati.UnitTest Console.WriteLine("Failed to clean tempdir: {0}", ex); } + // Don't spam the console + if (Log.CurrentLog != null) + Log.LogLevel = LogMessageType.Error; + using (var log = new LogHelper(logfilename)) using (Log.StartScope(log)) {