Weird null reference error on role start after upgrade to Azure SDK 2.5
It was weird, got fixed after I commented the below code:
//DiagnosticMonitorConfiguration config = DiagnosticMonitor.GetDefaultInitialConfiguration(); //config.Logs.ScheduledTransferPeriod = TimeSpan.FromMinutes(5); //config.Logs.ScheduledTransferLogLevelFilter = Microsoft.WindowsAzure.Diagnostics.LogLevel.Warning; //DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", config);
Comments
Post a Comment