我们正在通过ci服务器创建azure worker角色部署包,并使用azure Powershell cmdlets脚本将包部署到蔚蓝云服务中。
但是,诊断配置不适用于部署;只有当我们在visual studio中手动部署时,它才能工作。
在powershell脚本中是否有一种方法可以考虑诊断设置(Performancecounter..etc)?
发布于 2015-04-16 19:00:11
您可以使用Set-AzureServiceDiagnosticsExtension PowerShell Cmdlet启用诊断。您可能会发现此链接对此有用:http://azure.microsoft.com/en-in/documentation/articles/cloud-services-dotnet-diagnostics/ (请参阅Step 5: Install Diagnostics on your Worker Role)。
https://stackoverflow.com/questions/29683550
复制相似问题