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
Fixes #48062.
* Reorders to put ApplicationInsights override after the general setting.
* Removes duplicate default setting in ApplicationInsights.
* Removes `AllowedHosts` setting unrelated to logging, making the example more specifically a "section of" the config as described above the example.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/ilogger.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -326,22 +326,20 @@ The following examples apply filter rules to ApplicationInsightsLoggerProvider.
326
326
327
327
### Create filter rules in configuration with appsettings.json
328
328
329
-
For ApplicationInsightsLoggerProvider, the provider alias is `ApplicationInsights`. The following section of *appsettings.json*configures logs for *Warning* and above from all categories and *Error* and above from categories that start with "Microsoft" to be sent to `ApplicationInsightsLoggerProvider`.
329
+
For ApplicationInsightsLoggerProvider, the provider alias is `ApplicationInsights`. The following section of *appsettings.json*instructs logging providers generally to log at level *Warning* and above. It then overrides the `ApplicationInsightsLoggerProvider` to log categories that start with "Microsoft" at level *Error* and above.
0 commit comments