Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/16/11 16:53:53 (12 years ago)
Author:
spimming
Message:

#1680:

  • enable Remote Desktop Connection to roles
  • adapt connection string for Azure Storage in cloud configuration
  • add diagnostics to worker role
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Slave.AzureClient/WorkerRole.cs

    r6990 r7005  
    1 using System.Net;
     1using System;
     2using System.Net;
    23using System.Threading;
    34using HeuristicLab.Clients.Hive.SlaveCore;
     5using Microsoft.WindowsAzure.Diagnostics;
    46using Microsoft.WindowsAzure.ServiceRuntime;
    57
     
    2325      ServicePointManager.DefaultConnectionLimit = 12;
    2426      core = new Core();
     27
     28      DiagnosticMonitorConfiguration dmc = DiagnosticMonitor.GetDefaultInitialConfiguration();
     29      dmc.Logs.ScheduledTransferPeriod = TimeSpan.FromMinutes(1);
     30      dmc.Logs.ScheduledTransferLogLevelFilter = LogLevel.Verbose;
     31      DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", dmc);
     32
    2533      return base.OnStart();
    2634    }
Note: See TracChangeset for help on using the changeset viewer.