Azure Cloud Service Diagnostic output changed with 2.6 SDK
Asked Answered
B

1

64

After upgrading the SDK to Azure Cloud Service Diagnostic 2.6, all the WAD trace logs started to look like this:

EventName="FormattedMessageEvent" FormattedMessage="Subscription {0} Already Created" Argument0="sub2feature-staging" TraceSource="w3wp.exe"

Previously it use to just write out "Subscription sub2feature-staging Already Created" TraceSource="w3wp.exe"

Is this something I can configure? Also looks like a lot of messages has moved from information to verbose.

It's probably a combination of my log provider and some changes done in Azure Cloud Service Diagnostic 2.6.

Basrhin answered 2/5, 2015 at 14:53 Comment(4)
I noticed the same thing, and I've started to look at switching to ETW EventSource derived classes for Azure logging, although I'm currently having issues with the custom WADMyEvent tables not always showing up.Aboveground
Do share any information in this processs. Might be something the rest of us azure devs can use.Verrocchio
Everything worked after I upgraded to .NET 4.5.1 from .NET 4.5.0 (which was silently failing to create the WAD event table when I had 4 arguments). See my new answer to an old Stackoverflow question I had for example of using ETW Event Source: #18899685Aboveground
You should switch to ETW tracing. That is the future and the way to goThailand
N
1

I know this is old, but since it is unanswered, it is a great way to test knowledge.

https://learn.microsoft.com/en-us/previous-versions/azure/reference/dn479282(v=azure.100)#azure-sdk-release-dates-retirement-dates-and-support-information

If you goto that link you will see the supported version of .net are 4.5.2, 4.6*, 4.6.1* So it is possible 4.5.1 could work but not be supported.

That would answer why updating your framework fixed the issue.

Neopythagoreanism answered 15/7, 2020 at 0:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.