From 45dd741e4c181bcac3fbb5f3e7dcd8419e3ef823 Mon Sep 17 00:00:00 2001 From: dbuechel Date: Wed, 25 Apr 2018 07:47:48 +0200 Subject: [PATCH] Changed log level for browser. --- SafeExamBrowser.Browser/BrowserApplicationController.cs | 4 ++-- .../Communication/Hosts/BaseHostTests.cs | 1 + SafeExamBrowser.Runtime/CompositionRoot.cs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/SafeExamBrowser.Browser/BrowserApplicationController.cs b/SafeExamBrowser.Browser/BrowserApplicationController.cs index 4ddf752e..1e09c6e1 100644 --- a/SafeExamBrowser.Browser/BrowserApplicationController.cs +++ b/SafeExamBrowser.Browser/BrowserApplicationController.cs @@ -102,8 +102,8 @@ namespace SafeExamBrowser.Browser { CachePath = runtimeInfo.BrowserCachePath, LogFile = runtimeInfo.BrowserLogFile, - // TODO: Set according to current application LogLevel! - LogSeverity = LogSeverity.Verbose + // TODO: Set according to current application LogLevel, but avoid verbose! + LogSeverity = LogSeverity.Info }; cefSettings.RegisterScheme(new CefCustomScheme { SchemeName = "seb", SchemeHandlerFactory = new SchemeHandlerFactory() }); diff --git a/SafeExamBrowser.Core.UnitTests/Communication/Hosts/BaseHostTests.cs b/SafeExamBrowser.Core.UnitTests/Communication/Hosts/BaseHostTests.cs index cfb12703..50198e23 100644 --- a/SafeExamBrowser.Core.UnitTests/Communication/Hosts/BaseHostTests.cs +++ b/SafeExamBrowser.Core.UnitTests/Communication/Hosts/BaseHostTests.cs @@ -56,6 +56,7 @@ namespace SafeExamBrowser.Core.UnitTests.Communication.Hosts [ExpectedException(typeof(CommunicationException))] public void MustCorrectlyHandleStartupException() { + // TODO: Takes waaay too long, extract timeout (move to constructor like in ClientOperation)! hostObject.Setup(h => h.Open()).Throws(); sut.Start(); diff --git a/SafeExamBrowser.Runtime/CompositionRoot.cs b/SafeExamBrowser.Runtime/CompositionRoot.cs index e029a90c..fa7690c4 100644 --- a/SafeExamBrowser.Runtime/CompositionRoot.cs +++ b/SafeExamBrowser.Runtime/CompositionRoot.cs @@ -73,7 +73,7 @@ namespace SafeExamBrowser.Runtime var bootstrapSequence = new OperationSequence(logger, bootstrapOperations); var sessionSequence = new OperationSequence(logger, sessionOperations); - RuntimeController = new RuntimeController(configuration, logger, messageBox, bootstrapSequence, sessionSequence, runtimeHost, runtimeInfo, serviceProxy, shutdown, uiFactory); + RuntimeController = new RuntimeController(configuration, logger, messageBox, bootstrapSequence, sessionSequence, runtimeHost, runtimeInfo, serviceProxy, shutdown, uiFactory); } internal void LogStartupInformation()