Back to Aspnetcore

Breaking change: Razor: Logging ID changes

aspnetcore/breaking-changes/6/razor-pages-logging-ids.md

latest926 B
Original Source

Razor: Logging ID changes

Razor Pages log messages have associated IDs and names. These are used to uniquely identify different kinds of log messages. Some of those IDs were incorrectly duplicated. This .NET 6 change corrects the duplication.

Version introduced

ASP.NET Core 6.0 RC1

Old and new behavior

| Event name | Previous event ID | New event ID | | - | - | | ExecutedHandlerMethod | 102 | 108 | | ExecutingImplicitHandlerMethod | 103 | 107 | | ExecutedImplicitHandlerMethod | 104 | 109 | | NotMostEffectiveFilter | 1 | 4 |

Change category

This change affects binary compatibility.

Reason for change

Log IDs should be unique so different message types can be identified.

If you have code or configuration that references the old IDs, update those references to use the new IDs.

Affected APIs

N/A.