Reputation: 6073
I am using log4net to write out a log file for my Azure Cloud App.
I can see the log file in the browser, but cannot open it:
http://document-pdfgen.cloudapp.net/
I went through the entire Azure Portal and cannot find a way to access this file. Has anyone done this before?
Thanks,
Philip
Upvotes: 0
Views: 102
Reputation: 24549
As Andrés Nava - .NET mentioned that we could add the MIME extension log MIME type text/plain to IIS.
For CloudService application, we could remote to Web role to set IIS by ourselves. How to remote cloudservice please refer to Azure offical tutorials.
The following detail steps:
Note :According to you metioned link that you have enabled Dirctory Browsing. If it is not necessary we also could disable it in the IIS manager.
Upvotes: 1