MS LogErrorsOnly replaced

This commit is contained in:
2022-04-04 13:05:48 +02:00
parent 5914e27bcc
commit 8424fa3e31
6 changed files with 241 additions and 541 deletions

View File

@@ -18,11 +18,11 @@ Public Class ClassInit
Public Sub InitConfig()
CONFIG = New ConfigManager(Of ClassConfig)(LOGCONFIG, Application.UserAppDataPath, Application.CommonAppDataPath)
LOGCONFIG.Debug = Not CONFIG.Config.LogErrorsOnly
LOGCONFIG.Debug = Not CONFIG.Config.LogDEBUG
LOGGER.Info("Debug log set to: [{0}]", LOGCONFIG.Debug)
MyConnectionString = DecryptConnectionString(CONFIG.Config.ConnectionString)
LogErrorsOnly = CONFIG.Config.LogErrorsOnly
LogErrorsOnly = CONFIG.Config.LogDEBUG
'myPreviewActive = CONFIG.Config.FilePreview
FW_started = CONFIG.Config.FolderWatchStarted