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.
Note: Iam using Azure SDk2.5
Please kindly guide me to proceed further.
Thanks, Suria.
Please verify if you have the trace listener properly configured in your web.config or app.config. It should have Something like this -
Check your wadcfgx file to ensure you have the correct storage account in it under the element. Also check if the transfer of the Logs is enabled in the wadcfgx with appropriate transfer period /transfer filter.