diff --git a/Modules.Logging/LogConfig.vb b/Modules.Logging/LogConfig.vb index c76847f3..4b947f58 100644 --- a/Modules.Logging/LogConfig.vb +++ b/Modules.Logging/LogConfig.vb @@ -156,6 +156,7 @@ Public Class LogConfig End Get Set(isDebug As Boolean) Me.isDebug = isDebug + GetLogger().Info("=> Debug is now {0}", isDebug) ReloadConfig(isDebug) End Set End Property diff --git a/ZooFlow/ApplicationEvents.vb b/ZooFlow/ApplicationEvents.vb index 7465a313..175c2d35 100644 --- a/ZooFlow/ApplicationEvents.vb +++ b/ZooFlow/ApplicationEvents.vb @@ -31,7 +31,7 @@ Namespace My Dim oUIConfigManager As New ConfigManager(Of ClassUIConfig)(oLogConfig, oUIConfigPath, oUIConfigPath) LogConfig = oLogConfig - LogConfig.Debug = oSystemConfigManager.Config.LogDebug + LogConfig.Debug = True 'oSystemConfigManager.Config.LogDebug SystemConfigManager = oSystemConfigManager UIConfigManager = oUIConfigManager diff --git a/ZooFlow/frmMain.vb b/ZooFlow/frmMain.vb index 7b0bdc4a..bf18f308 100644 --- a/ZooFlow/frmMain.vb +++ b/ZooFlow/frmMain.vb @@ -114,7 +114,7 @@ Partial Public Class frmMain oMatchingProfiles = oProfileFilter.FilterWindowsByWindowTitleRegex(oMatchingProfiles, oWindowInfo.WindowTitle) Logger.Debug("Profiles after FilterWindowsByWindowTitleRegex: {0}", oMatchingProfiles.Count) 'oMatchingProfiles = oProfileFilter.FilterProfilesByFocusedControl(oMatchingProfiles, oClipboardContents, oFocusedControl.hWnd.ToString) - oMatchingProfiles = oProfileFilter.FilterProfilesByFocusedControlLocation(oMatchingProfiles, oClipboardContents) + 'oMatchingProfiles = oProfileFilter.FilterProfilesByFocusedControlLocation(oMatchingProfiles, oClipboardContents) Logger.Debug("Profiles after FilterProfilesByFocusedControl: {0}", oMatchingProfiles.Count) oMatchingProfiles = Await Task.Run(Function() oProfileFilter.FilterProfilesBySearchResults(oMatchingProfiles)) Logger.Debug("Profiles after FilterProfilesBySearchResults: {0}", oMatchingProfiles.Count)