You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
What do I need to do to write the unhandled exceptions to "exceptions" tab in Application Insights instead of the usual "Traces" tab?
This is what my setup is:
var config = new LoggingConfiguration();
var target = new ApplicationInsightsTarget
{
InstrumentationKey = _instrumentationKey
};
var rule = new LoggingRule("*", LogLevel.Trace, target);
config.LoggingRules.Add(rule);
LogManager.Configuration = config;
What do I need to do to write the unhandled exceptions to "exceptions" tab in Application Insights instead of the usual "Traces" tab?
This is what my setup is:
And this is how I'm logging:
Everything is ending up under "traces" tab, nothing under "exceptions" tab.
The text was updated successfully, but these errors were encountered: