Skip to content

Commit db3d679

Browse files
Update index.md (#33186)
* Update index.md * Update aspnetcore/fundamentals/logging/index.md * Update index.md * Apply suggestions from code review Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com> --------- Co-authored-by: Luke Latham <1622880+guardrex@users.noreply.github.com>
1 parent 5918fa5 commit db3d679

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

aspnetcore/fundamentals/logging/index.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Logs created with the [default logging providers](#lp) are displayed:
218218
* In the ASP.NET Core Web Server window.
219219
* In the console window when the app is run with `dotnet run`.
220220

221-
Logs that begin with "Microsoft" categories are from ASP.NET Core framework code. ASP.NET Core and application code use the same logging API and providers.
221+
Logs that begin with "Microsoft" categories are from .NET. .NET and application code use the same [logging API and providers](/dotnet/core/extensions/logging).
222222

223223
<a name="lcat"></a>
224224

@@ -408,9 +408,9 @@ The preceding code displays console logs when the category contains `Controller`
408408

409409
Generally, log levels should be specified in configuration and not code.
410410

411-
## ASP.NET Core and EF Core categories
411+
## ASP.NET Core categories
412412

413-
The following table contains some categories used by ASP.NET Core and Entity Framework Core, with notes about the logs:
413+
The following table contains some categories used by ASP.NET Core.
414414

415415
| Category | Notes |
416416
| ------------------------------------- | ----- |
@@ -422,14 +422,16 @@ The following table contains some categories used by ASP.NET Core and Entity Fra
422422
| `Microsoft.AspNetCore.Routing` | Route matching information. |
423423
| `Microsoft.AspNetCore.Server` | Connection start, stop, and keep alive responses. HTTPS certificate information. |
424424
| `Microsoft.AspNetCore.StaticFiles` | Files served. |
425-
| `Microsoft.EntityFrameworkCore` | General Entity Framework Core diagnostics. Database activity and configuration, change detection, migrations. |
425+
426426

427427
To view more categories in the console window, set **`appsettings.Development.json`** to the following:
428428

429429
[!code-json[](~/fundamentals/logging/index/samples/3.x/MyMain/appsettings.Trace.json)]
430430

431431
<!-- Review: What other providers support scopes? Console is not generally used in staging/production -->
432432

433+
For a list of Entity Framework categories, see [EF Message categories](/ef/core/logging-events-diagnostics/simple-logging#message-categories).
434+
433435
<a name="logscopes"></a>
434436

435437
## Log scopes

0 commit comments

Comments
 (0)