Fix debug flag for logger
This commit is contained in:
parent
e1692f68de
commit
62e4bb84c3
@ -24,7 +24,7 @@ Public Class ClassInit
|
|||||||
|
|
||||||
Public Sub InitConfig()
|
Public Sub InitConfig()
|
||||||
CONFIG = New ConfigManager(Of ClassConfig)(LOGCONFIG, Application.UserAppDataPath, Application.CommonAppDataPath, Application.StartupPath)
|
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)
|
LOGGER.Info("Debug log set to: [{0}]", LOGCONFIG.Debug)
|
||||||
|
|
||||||
MyConnectionString = DecryptConnectionString(CONFIG.Config.ConnectionString)
|
MyConnectionString = DecryptConnectionString(CONFIG.Config.ConnectionString)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user