Application Insights TraceListener: Setting Severity level

1.9k views Asked by At

The answer to this might be a simple no, but I was wanting to set the severity level of the Trace events that are reported.

I am using the prerelease versions of the Application Insights API and Application Insights TraceListener.

Basically I just want to filter out Trace events with a verbose severity. I know I can filter them out when viewing the Application insights in the Azure portal, but I would rather them not be reported at all. Is there a way to set the severity level of Trace Events for application Insights?

1

There are 1 answers

0
Anastasia Black On BEST ANSWER

It is a known limitation that if you add application insights listener under "listeners" tag in your config filters will not work. But if you add it under shared listeners with a filter it should work.