Fix debug flag for logger

This commit is contained in:
Jonathan Jenne 2023-03-28 14:47:21 +02:00
parent e1692f68de
commit 62e4bb84c3

View File

@ -24,7 +24,7 @@ Public Class ClassInit
Public Sub InitConfig()
CONFIG = New ConfigManager(Of ClassConfig)(LOGCONFIG, Application.UserAppDataPath, Application.CommonAppDataPath, Application.StartupPath)
LOGCONFIG.Debug = Not CONFIG.Config.LogDEBUG
LOGCONFIG.Debug = CONFIG.Config.LogDEBUG
LOGGER.Info("Debug log set to: [{0}]", LOGCONFIG.Debug)
MyConnectionString = DecryptConnectionString(CONFIG.Config.ConnectionString)