ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/AnywhereTS-MSSQL/trunk/AnywhereTS.Logging/Logging.cs
(Generate patch)

Comparing trunk/AnywhereTS.Logging/Logging.cs (file contents):
Revision 164 by william, Sun Jul 15 11:41:39 2012 UTC vs.
Revision 165 by william, Mon Jul 16 10:19:21 2012 UTC

--- trunk/AnywhereTS.Logging/Logging.cs	2012/07/16 09:53:12	164
+++ trunk/AnywhereTS.Logging/Logging.cs	2012/07/16 10:19:21	165
@@ -33,9 +33,17 @@ namespace AnywhereTS
 
         public static readonly ILog ATSAdminInstallerLog = LogManager.GetLogger("AnywhereTS.ATSAmdin.Installer");
         public static readonly ILog TSControlPanelInstallerLog = LogManager.GetLogger("AnywhereTS.TSControlPanel.Installer");
-        #endregion
 
+        public static readonly ILog WizardLog = LogManager.GetLogger("AnywhereTS.Wizard");
+        public static readonly ILog DefaultLog = LogManager.GetLogger("AnywhereTS.DefaultLogger");
+
+        #endregion
 
+        public static void UpdateLogPath() 
+        {
+            string path = typeof(Logging).Assembly.Location.ToLower().Replace(@"\AnywhereTS.Logging.dll".ToLower(), "");
+            Logging.UpdateLogPath(path);
+        }
         public static void UpdateLogPath(string path) { Logging.SetLogPath(path); }
 
         private static void SetLogPath(string path)