In the Azure SDK 2.5, the storage account is set up in a wadcfgx role like this:
<PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<StorageAccount name="myDiagnosticAccount" endpoint="https://core.windows.net/" />
The problem is that I want to have separate diagnostic accounts for production and production. Like this:
For staging
<PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<StorageAccount name="myProductionDiagStorageAccount" endpoint="https://core.windows.net/" />
</PrivateConfig>
and for production
<PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<StorageAccount name="myStageDiagStorageAccount" endpoint="https://core.windows.net/" />
</PrivateConfig>
But I do not see any possible way to do this, since this config is intended for each role, and not for service configuration. In the previous SDK, I used two different diagnostic connection strings - "Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" - and everything worked fine.
How can I achieve this now in SDK 2.5?