Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/19/09 15:21:33 (15 years ago)
Author:
gkronber
Message:

Fixed bugs in preparation of engines for execution on hive. Used HL.Tracing instead of trace statements. #642 (Hive backend for CEDMA)

Location:
trunk/sources/HeuristicLab.Grid/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Grid/3.2/JobManager.cs

    r2058 r2073  
    4242
    4343    private IGridServer server;
    44     private string address;
    4544    private object waitingQueueLock = new object();
    4645    private Queue<AsyncGridResult> waitingJobs = new Queue<AsyncGridResult>();
     
    108107      }
    109108      catch (Exception e) {
    110         Trace.TraceError("Exception " + e + " in JobManager.StartEngines() killed the start-engine thread\n" + e.StackTrace);
     109        HeuristicLab.Tracing.Logger.Error("Exception " + e + " in JobManager.StartEngines() killed the start-engine thread\n" + e.StackTrace);
    111110      }
    112111    }
     
    150149      }
    151150      catch (Exception e) {
    152         Trace.TraceError("Exception " + e + " in JobManager.GetResults() killed the results-gathering thread\n" + e.StackTrace);
     151        HeuristicLab.Tracing.Logger.Error("Exception " + e + " in JobManager.GetResults() killed the results-gathering thread\n" + e.StackTrace);
    153152      }
    154153    }
  • trunk/sources/HeuristicLab.Grid/3.2/ProcessingEngine.cs

    r1529 r2073  
    2727using System.Xml;
    2828using System.Threading;
    29 using System.Diagnostics;
    3029
    3130namespace HeuristicLab.Grid {
     
    8281        } catch(Exception ex) {
    8382          errorMessage = CreateErrorMessage(ex);
    84           Trace.TraceWarning(errorMessage);
     83          HeuristicLab.Tracing.HiveLogger.Error(errorMessage);
    8584          // push operation on stack again
    8685          myExecutionStack.Push(atomicOperation);
Note: See TracChangeset for help on using the changeset viewer.