locked
Azure Diagnostics - WADLogs Table not created RRS feed

  • Question

  • I am trying to log the information whenever user perform some operations in a WebRole in cloud environment. In emulator it will write the info in output window, but in azue portal I cant see the info anywhere. I have enabled the azure diagnostics and provided the azure storage credentials, but the azure WADLogs table not getting created. This how I write the log "Trace.TraceInformation("Policy started");". Also used TraceSource to write the info to the log,but no luck.

    my diagnostics.wadcfgx file contents below

      <WadCfg>
          <DiagnosticMonitorConfiguration overallQuotaInMB="4096">
            <DiagnosticInfrastructureLogs scheduledTransferLogLevelFilter="Verbose" />
            <Directories scheduledTransferPeriod="PT1M">
              <IISLogs containerName="wad-iis-logfiles" />
              <FailedRequestLogs containerName="wad-failedrequestlogs" />
            </Directories>
            <PerformanceCounters scheduledTransferPeriod="PT1M">
              <PerformanceCounterConfiguration counterSpecifier="\Memory\Available MBytes" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\ISAPI Extension Requests/sec" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\Bytes Total/Sec" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Requests/Sec" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Errors Total/Sec" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Queued" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Rejected" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\Processor(_Total)\% Processor Time" sampleRate="PT3M" />
            </PerformanceCounters>
            <WindowsEventLog scheduledTransferPeriod="PT1M">
              <DataSource name="Application!*" />
            </WindowsEventLog>
            <CrashDumps dumpType="Full">
              <CrashDumpConfiguration processName="WaAppAgent.exe" />
              <CrashDumpConfiguration processName="WaIISHost.exe" />
              <CrashDumpConfiguration processName="WindowsAzureGuestAgent.exe" />
              <CrashDumpConfiguration processName="WaWorkerHost.exe" />
              <CrashDumpConfiguration processName="DiagnosticsAgent.exe" />
              <CrashDumpConfiguration processName="w3wp.exe" />
            </CrashDumps>
            <Logs scheduledTransferPeriod="PT3M" scheduledTransferLogLevelFilter="Verbose" />
          </DiagnosticMonitorConfiguration>
        </WadCfg>
        <StorageAccount>********</StorageAccount>
      </PublicConfig>
      <PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
        <StorageAccount name="*******" key="******" endpoint="" />
      </PrivateConfig>
      <IsEnabled>true</IsEnabled>

    Note: Iam using Azure SDk2.5

    Please kindly guide me to proceed further.

    Wednesday, December 10, 2014 8:17 AM

Answers

All replies

  • Alert me | Edit | Delete | Change type
    Question
    You cannot vote on your own post
    0
    I am trying to log the information whenever user perform some operations in a WebRole in cloud environment. In emulator it will write the info in output window, but in azue portal I cant see the info anywhere. I have enabled the azure diagnostics and provided the azure storage credentials, but the azure WADLogs table not getting created. This how I write the log "Trace.TraceInformation("Policy started");". Also used TraceSource to write the info to the log,but no luck.

    my diagnostics.wadcfgx file contents below

      <WadCfg>
          <DiagnosticMonitorConfiguration overallQuotaInMB="4096">
            <DiagnosticInfrastructureLogs scheduledTransferLogLevelFilter="Verbose" />
            <Directories scheduledTransferPeriod="PT1M">
              <IISLogs containerName="wad-iis-logfiles" />
              <FailedRequestLogs containerName="wad-failedrequestlogs" />
            </Directories>
            <PerformanceCounters scheduledTransferPeriod="PT1M">
              <PerformanceCounterConfiguration counterSpecifier="\Memory\Available MBytes" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\ISAPI Extension Requests/sec" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\Bytes Total/Sec" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Requests/Sec" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Errors Total/Sec" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Queued" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Rejected" sampleRate="PT3M" />
              <PerformanceCounterConfiguration counterSpecifier="\Processor(_Total)\% Processor Time" sampleRate="PT3M" />
            </PerformanceCounters>
            <WindowsEventLog scheduledTransferPeriod="PT1M">
              <DataSource name="Application!*" />
            </WindowsEventLog>
            <CrashDumps dumpType="Full">
              <CrashDumpConfiguration processName="WaAppAgent.exe" />
              <CrashDumpConfiguration processName="WaIISHost.exe" />
              <CrashDumpConfiguration processName="WindowsAzureGuestAgent.exe" />
              <CrashDumpConfiguration processName="WaWorkerHost.exe" />
              <CrashDumpConfiguration processName="DiagnosticsAgent.exe" />
              <CrashDumpConfiguration processName="w3wp.exe" />
            </CrashDumps>
            <Logs scheduledTransferPeriod="PT3M" scheduledTransferLogLevelFilter="Verbose" />
          </DiagnosticMonitorConfiguration>
        </WadCfg>
        <StorageAccount>********</StorageAccount>
      </PublicConfig>
      <PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
        <StorageAccount name="*******" key="******" endpoint="" />
      </PrivateConfig>
      <IsEnabled>true</IsEnabled>
    Note: Iam using Azure SDk2.5

    Please kindly guide me to proceed further.
    Wednesday, December 10, 2014 8:22 AM
  • Are you checking this out in storage/compute emulator? If that's the case, then the tables won't be created. Please see breaking changes here: http://msdn.microsoft.com/en-us/library/azure/dn873976.aspx#BKMK_breaking

    Hope this helps.

    • Proposed as answer by Manu Rekhar Sunday, December 14, 2014 4:04 AM
    • Marked as answer by Manu Rekhar Monday, December 15, 2014 5:11 AM
    Thursday, December 11, 2014 4:52 AM