Beispiel #1
0
 bool IDistributionService.Initialize()
 {
     // Start listening to the port if we have remote workers
     try
     {
         m_workerServer.Start(m_port);
         return(true);
     }
     catch (Exception ex)
     {
         Logger.Log.DistributionServiceInitializationError(m_appLoggingContext, DistributedBuildRole.Worker.ToString(), m_port, ExceptionUtilities.GetLogEventMessage(ex));
         return(false);
     }
 }
Beispiel #2
0
 public void LogCallException(LoggingContext loggingContext, string functionName, uint retry, Exception ex)
 {
     Logger.Log.DistributionCallWorkerCodeException(loggingContext, m_workerName, functionName, ExceptionUtilities.GetLogEventMessage(ex));
 }