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

Popular posts from this blog

Firefox and Chrome dark mode

Dealing with the morons who built Dell 7710 and RAID

Tutorial: Using Google Cloud Storage from C# and .NET