Sitecore’s standard configuration contains some interesting choices, but this must be one of the daftest. Sitecore Identity Server can record telemetry into Application Insights. That’s quite nice. The problem is, by default, it does this as Custom Events. A lot of Custom Events. And the sorts of messages it’s sending are more like the lines of a log file – so more naturally, Traces. Here’s what you get by default – a list of Custom Events:

You’ll note that the displayed message for these events is just the message template, over and over again. This is sad, because somewhere in the code that’s recording them it is actually rendering the correct text… but they don’t use that for the Custom Event Name, so you just see the template, over and over.

So, how can we fix this?
Continue reading “Sitecore Identity Server Logging: Switch to Traces from Custom Events”



