diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-03-22 16:50:25 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-03-22 16:50:25 +0200 |
| commit | 2ebbed964bdc4aa1c2889d6c4c0521b3ba1562aa (patch) | |
| tree | 10c930342d7c137fac78c529f1c3aeb380011190 /Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs | |
| parent | 5a5b63afd5c4ff1d6a1dbd6996ed0a5a494387d0 (diff) | |
| download | Tango-2ebbed964bdc4aa1c2889d6c4c0521b3ba1562aa.tar.gz Tango-2ebbed964bdc4aa1c2889d6c4c0521b3ba1562aa.zip | |
Dropped logging categories from settings on MS and PPC.
Debug Logs Processing is done in real time from UI.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs index 8ee8f6a1a..ff0b1018b 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs @@ -69,8 +69,6 @@ namespace Tango.PPC.UI exceptionTrapper.Initialize(this); exceptionTrapper.ApplicationCrashed += ExceptionTrapper_ApplicationCrashed; - LogManager.Categories.Clear(); - CoreSettings.DefaultDataSource = new DataSource() { Address = "localhost\\SQLEXPRESS", @@ -78,22 +76,6 @@ namespace Tango.PPC.UI IntegratedSecurity = true, }; - SettingsManager.Default.GetOrCreate<CoreSettings>(); - - var settings = SettingsManager.Default.GetOrCreate<PPCSettings>(); - - if (settings.LoggingCategories.Count == 0) - { - settings.LoggingCategories.Add(LogCategory.Critical); - settings.LoggingCategories.Add(LogCategory.Error); - settings.LoggingCategories.Add(LogCategory.Info); - settings.LoggingCategories.Add(LogCategory.Warning); - } - - settings.Save(); - - LogManager.Categories.AddRange(settings.LoggingCategories); - WebRequest.DefaultWebProxy = null; } |
