On local debug configuration I want to logging in txt file. It's work. Logging to Azure Blob Storage work fine too. But I want configure the second to work only on "Azure debug" configuration.
I have created simple tranformation in web.debug.azure.config.
-> Web.config
<log4net debug="true">
<root>
<level value="Info" />
<appender-ref ref="Appender"/>
</root>
<appender name="Appender" type="log4net.Appender.RollingFileAppender" >
// Configuration stuff
</appender>
And it's set for "Debug" build configuration. While build for "Azure debug" I want to replace the "" with it: -> Web.Debug.Azure.config
<appender xdt:Transform="Replace" xdt:Locator="Match(name)" name="Appender" type="log4net.Appender.AzureAppendBlobAppender, log4net.Appender.Azure">
// Configuration stuff
</appender>
And when I do it. The first still working and the second no. Why? How to do it?