Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8059857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:48:19+00:00 2026-06-05T09:48:19+00:00

I am trying to store the azure diagnostics data on the storage account. I

  • 0

I am trying to store the azure diagnostics data on the storage account.
I have tried the following code:

public override bool OnStart()
    {
        // For information on handling configuration changes
        // see the MSDN topic at http://go.microsoft.com/fwlink/?LinkId=166357.
        // Get the default initial configuration for DiagnosticMonitor.
        DiagnosticMonitorConfiguration diagnosticConfiguration = DiagnosticMonitor.GetDefaultInitialConfiguration();

        // Filter the logs so that only error-level logs are transferred to persistent storage.
        diagnosticConfiguration.Logs.ScheduledTransferLogLevelFilter = LogLevel.Information;

        // Schedule a transfer period of 30 minutes.
        diagnosticConfiguration.Logs.ScheduledTransferPeriod = TimeSpan.FromMinutes(1.0);

        // Specify a buffer quota of 1GB.
        diagnosticConfiguration.Logs.BufferQuotaInMB = 900;

        // Start the DiagnosticMonitor using the diagnosticConfig and our connection string.
        DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", diagnosticConfiguration);

        Trace.TraceInformation("WebRole started");

        return base.OnStart();
    }

This code is same as microsoft has suggested on MSDN http://msdn.microsoft.com/en-us/library/windowsazure/microsoft.windowsazure.diagnostics.diagnosticmonitorconfiguration.logs

I have tried to comment out BufferQuotaInMB with no luck. I have tried this with newly created application both in local environment and on live deployment. Turns out that even WADLogsTable is not created.
What is it that i am missing?

Note: it is working alright on live deployment with windowsEventLogs.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T09:48:21+00:00Added an answer on June 5, 2026 at 9:48 am

    Not sure what is wrong, as an alternative you could try using the Diagnostics.wadcfg as a config option in your code?

    Few blog posts explaining how to use it:

    How to use Diagnostics.wadcfg to configure Windows Azure diagnostics collection: http://www.davidaiken.com/2012/02/27/how-to-use-diagnostics-wadcfg-to-configure-windows-azure-diagnostics-collection/

    Configuring WAD via the diagnostics.wadcfg Config File: http://blogs.msdn.com/b/davidhardin/archive/2011/03/29/configuring-wad-via-the-diagnostics-wadcfg-config-file.aspx

    How to Use the Windows Azure Diagnostics Configuration File: http://msdn.microsoft.com/en-us/library/windowsazure/hh411551.aspx

    Worth a try, sorry I couldn’t be of more help…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to store my data in memory here is what i have
I am trying to store splqueue to memcache (NOT memcached). The following sample code
I'm using Windows Azure Table Storage to store millions of entities, however I'm trying
I'm trying to store MediumBlob data in MySQL using java. But I have no
Im trying to store a list,collection of data objects in Hbase. For example ,a
I'm trying to store some data in DOM Elements ($.cache) on my plugin but
I am trying to store objects in session However, when I do the following,
I'm trying to store data from an input file into a series of objects,
I'm trying to store expressions required by Linq OrderBy clauses in data structures, so
I have been trying to store image form android sdcard to the sqlite database.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.