- Timestamp:
- 02/11/13 10:15:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Hive/3.3/HiveJanitor.cs
r8266 r9215 23 23 using System.Threading; 24 24 using HeuristicLab.Services.Hive.DataAccess; 25 using System.Diagnostics; 25 26 26 27 namespace HeuristicLab.Services.Hive { … … 55 56 try { 56 57 LogFactory.GetLogger(typeof(HiveJanitor).Namespace).Log("HiveJanitor: starting cleanup"); 58 Trace.WriteLine("HiveJanitor: starting cleanup"); 57 59 bool cleanup = false; 58 60 DateTime lastCleanup = DateTime.MinValue; … … 70 72 } 71 73 LogFactory.GetLogger(typeof(HiveJanitor).Namespace).Log("HiveJanitor: cleanup finished"); 74 Trace.WriteLine("HiveJanitor: cleanup finished"); 72 75 } 73 76 catch (Exception e) { 74 77 LogFactory.GetLogger(typeof(HiveJanitor).Namespace).Log(string.Format("HiveJanitor: The following exception occured: {0}", e.ToString())); 78 Trace.WriteLine(string.Format("HiveJanitor: The following exception occured: {0}", e.ToString())); 75 79 } 76 80 waitHandle.WaitOne(HeuristicLab.Services.Hive.Properties.Settings.Default.CleanupInterval);
Note: See TracChangeset
for help on using the changeset viewer.