azure-diagnostics

download azure diagnostic logs?

你离开我真会死。 提交于 2019-12-03 22:23:18
Does anyone know how to download the Azure diagnostic logs? From the control panel, it shows me an ftp link for the logs, but when I click it it prompts me for a username/password. Any username/password I try just results in a "530 User Cannot Login" error. It looks like the same address that Vis Studio does it's publishing to, and that had a '$' before my username. I tried that as well, but no-go. Just curious how to get the logs when you start having errors pop up in the application, or is there something else I should be doing to prepare my app for going on Azure? Thanks, Mike You would

.NET TraceSource not working under Windows Azure

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 17:03:47
I'm trying to display some TraceSource logging information to the Azure emulator ( consoley ) window. None of the TraceSource lines are displayed. Only the stock Trace lines and various low level azure messages. Here's my steps to repo, including code snippets: File -> New -> Cloud Service (SDK 2.0) -> (add worker role). Add a TraceSource to the WorkerRole. Update the app.config with tracing data. Play/Publish. NOTE all the other default code is in there, such as the .csfg which says to use UseDevelopmentStorage=true etc Worker Role code. This is the STOCK DEFAULT CODE with my TraceSource

Windows Azure Trace Log not working

人盡茶涼 提交于 2019-12-03 06:02:30
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.ConnectionString has been set up to our Azure storage account Import Module Diagnostics to service definition file. Web config : <system.diagnostics> <switches> <add name="logLevel" value="4" /> </switches> <trace autoflush="false" indentsize="4"> <listeners> <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

ARM Template containing config settings for web app

我们两清 提交于 2019-12-02 15:10:14
问题 I am encountering strange behavior when deploying an ARM template. I have the following template: (Note that sasUrl value 'xxx' has a real, working value in my file) { "name": "[variables('webAppServiceName')]", "type": "Microsoft.Web/sites", "location": "[resourceGroup().location]", "apiVersion": "2016-08-01", "dependsOn": [ "[concat('Microsoft.Web/serverfarms/', variables('appServicePlanName'))]" ], "tags": { "[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web

ARM Template containing config settings for web app

一世执手 提交于 2019-12-02 07:50:13
I am encountering strange behavior when deploying an ARM template. I have the following template: (Note that sasUrl value 'xxx' has a real, working value in my file) { "name": "[variables('webAppServiceName')]", "type": "Microsoft.Web/sites", "location": "[resourceGroup().location]", "apiVersion": "2016-08-01", "dependsOn": [ "[concat('Microsoft.Web/serverfarms/', variables('appServicePlanName'))]" ], "tags": { "[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', variables('appServicePlanName'))]": "Resource", "displayName": "[variables('webAppServiceName')]