Windows Azure Trace Log not working

前端 未结 3 1701
暖寄归人
暖寄归人 2021-02-08 05:14

I\'m sure I have missed something simple but I can\'t get simple Trace.WriteLine to work on Azure.

Steps I have taken:

Microsoft.WindowsAzure.Plugins.Diagnostics

3条回答
  •  一向
    一向 (楼主)
    2021-02-08 05:59

    Right, sorted!

    This post explains all: http://social.msdn.microsoft.com/Forums/pl-PL/windowsazuredata/thread/d3f2f1d7-f11e-4840-80f7-f61dc11742fb

    It's because in Azure SDK 1.3 upwards the listeners are different in the webrole.cs file from the rest of the web app due to it running fully in IIS. If I add trace items to the web app itself the table WADLogsTable appears with my trace information.

提交回复
热议问题